@@ -3,10 +3,10 @@ |
||
3 | 3 | |
4 | 4 | class ControllerRestActionsCommand extends BaseCommand { |
5 | 5 | |
6 | - protected $signature = 'wn:controller:rest-actions |
|
6 | + protected $signature = 'wn:controller:rest-actions |
|
7 | 7 | {--force= : override the existing files}'; |
8 | 8 | |
9 | - protected $description = 'Generates REST actions trait to use into controllers'; |
|
9 | + protected $description = 'Generates REST actions trait to use into controllers'; |
|
10 | 10 | |
11 | 11 | public function handle() |
12 | 12 | { |
@@ -3,13 +3,13 @@ |
||
3 | 3 | |
4 | 4 | class SeederCommand extends BaseCommand { |
5 | 5 | |
6 | - protected $signature = 'wn:seeder |
|
6 | + protected $signature = 'wn:seeder |
|
7 | 7 | {model : full qualified name of the model.} |
8 | 8 | {--count=10 : number of elements to add in database.} |
9 | 9 | {--force= : override the existing files} |
10 | 10 | '; |
11 | 11 | |
12 | - protected $description = 'Generates a seeder'; |
|
12 | + protected $description = 'Generates a seeder'; |
|
13 | 13 | |
14 | 14 | public function handle() |
15 | 15 | { |
@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | |
4 | 4 | class FactoryCommand extends BaseCommand { |
5 | 5 | |
6 | - protected $signature = 'wn:factory |
|
6 | + protected $signature = 'wn:factory |
|
7 | 7 | {model : full qualified name of the model.} |
8 | 8 | {--fields= : the fields to generate.} |
9 | 9 | {--file= : the factories file.} |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | {--force= : override the existing files} |
12 | 12 | '; |
13 | 13 | |
14 | - protected $description = 'Generates a model factory'; |
|
14 | + protected $description = 'Generates a model factory'; |
|
15 | 15 | |
16 | 16 | public function handle() |
17 | 17 | { |
@@ -3,14 +3,14 @@ |
||
3 | 3 | |
4 | 4 | class PivotSeederCommand extends BaseCommand { |
5 | 5 | |
6 | - protected $signature = 'wn:pivot-seeder |
|
6 | + protected $signature = 'wn:pivot-seeder |
|
7 | 7 | {model1 : Name of the first model or table} |
8 | 8 | {model2 : Name of the second model or table} |
9 | 9 | {--count=10 : number of elements to add in database.} |
10 | 10 | {--force= : override the existing files} |
11 | 11 | '; |
12 | 12 | |
13 | - protected $description = 'Generates seeder for pivot table'; |
|
13 | + protected $description = 'Generates seeder for pivot table'; |
|
14 | 14 | |
15 | 15 | public function handle() |
16 | 16 | { |
@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | |
4 | 4 | class PivotTableCommand extends BaseCommand { |
5 | 5 | |
6 | - protected $signature = 'wn:pivot-table |
|
6 | + protected $signature = 'wn:pivot-table |
|
7 | 7 | {model1 : Name of the first model or table} |
8 | 8 | {model2 : Name of the second model or table} |
9 | 9 | {--add= : specifies additional columns like timestamps, softDeletes, rememberToken and nullableTimestamps.} |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | {--force= : override the existing files} |
12 | 12 | '; |
13 | 13 | |
14 | - protected $description = 'Generates creation migration for a pivot table'; |
|
14 | + protected $description = 'Generates creation migration for a pivot table'; |
|
15 | 15 | |
16 | 16 | protected $tables; |
17 | 17 |
@@ -20,7 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | use _generated\AcceptanceTesterActions; |
22 | 22 | |
23 | - /** |
|
24 | - * Define custom actions here |
|
25 | - */ |
|
23 | + /** |
|
24 | + * Define custom actions here |
|
25 | + */ |
|
26 | 26 | } |
@@ -20,7 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | use _generated\FunctionalTesterActions; |
22 | 22 | |
23 | - /** |
|
24 | - * Define custom actions here |
|
25 | - */ |
|
23 | + /** |
|
24 | + * Define custom actions here |
|
25 | + */ |
|
26 | 26 | } |
@@ -20,7 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | use _generated\UnitTesterActions; |
22 | 22 | |
23 | - /** |
|
24 | - * Define custom actions here |
|
25 | - */ |
|
23 | + /** |
|
24 | + * Define custom actions here |
|
25 | + */ |
|
26 | 26 | } |
@@ -3,41 +3,41 @@ |
||
3 | 3 | |
4 | 4 | class ArgumentFormat { |
5 | 5 | |
6 | - /** |
|
7 | - * Argument name |
|
8 | - * |
|
9 | - * @var string |
|
10 | - */ |
|
11 | - public $name; |
|
6 | + /** |
|
7 | + * Argument name |
|
8 | + * |
|
9 | + * @var string |
|
10 | + */ |
|
11 | + public $name; |
|
12 | 12 | |
13 | - /** |
|
14 | - * One of the types: array, object, string, boolean, number |
|
15 | - * |
|
16 | - * @var string |
|
17 | - */ |
|
18 | - public $type; |
|
13 | + /** |
|
14 | + * One of the types: array, object, string, boolean, number |
|
15 | + * |
|
16 | + * @var string |
|
17 | + */ |
|
18 | + public $type; |
|
19 | 19 | |
20 | - /** |
|
21 | - * The default value |
|
22 | - * |
|
23 | - * @var string |
|
24 | - */ |
|
25 | - public $default; |
|
20 | + /** |
|
21 | + * The default value |
|
22 | + * |
|
23 | + * @var string |
|
24 | + */ |
|
25 | + public $default; |
|
26 | 26 | |
27 | - /** |
|
28 | - * The separator, by default ":" for object and "," for array. |
|
29 | - * |
|
30 | - * @var string |
|
31 | - */ |
|
32 | - public $separator; |
|
27 | + /** |
|
28 | + * The separator, by default ":" for object and "," for array. |
|
29 | + * |
|
30 | + * @var string |
|
31 | + */ |
|
32 | + public $separator; |
|
33 | 33 | |
34 | - /** |
|
35 | - * Specify the format of fields for object |
|
36 | - * [ field_name => Format, field_name => Format, ... ] |
|
37 | - * Specify the format of an element of array |
|
38 | - * |
|
39 | - * @var mixed |
|
40 | - */ |
|
41 | - public $format; |
|
34 | + /** |
|
35 | + * Specify the format of fields for object |
|
36 | + * [ field_name => Format, field_name => Format, ... ] |
|
37 | + * Specify the format of an element of array |
|
38 | + * |
|
39 | + * @var mixed |
|
40 | + */ |
|
41 | + public $format; |
|
42 | 42 | |
43 | 43 | } |