File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ to the require section of your composer.json.
28
28
Usage
29
29
-----
30
30
31
- To use this extension, simply add the following code in your application configuration (console.php):
31
+ To use this extension, simply add the following code in your application configuration (console.php):
32
32
33
33
``` php
34
34
'controllerMap' => [
@@ -44,4 +44,6 @@ php yii stubs console
44
44
45
45
# to generate stubs for several apps
46
46
php yii stubs console common frontend
47
- ```
47
+ ```
48
+
49
+ File with stubs by default located in vendor directory.
Original file line number Diff line number Diff line change 7
7
8
8
class StubsController extends Controller
9
9
{
10
- public $ outputFile = 'Yii .php ' ;
10
+ public $ outputFile = 'yii2stubs .php ' ;
11
11
12
12
protected function getTemplate ()
13
13
{
You can’t perform that action at this time.
0 commit comments