PHP code example of webvimark / yii2-stubs-generator
1. Go to this page and download the library: Download webvimark/yii2-stubs-generator library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
webvimark / yii2-stubs-generator example snippets
'controllerMap' => [
'stubs' => [
'class' => 'webvimark\stubsgenerator\StubsController',
// This configs will be always will be used in stub generation. It can be empty
// 'configs' => [
// 'console/config/main.php',
// 'common/config/main.php',
// 'frontend/config/main.php',
// ],
],
],