@@ -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 | { |
@@ -10,10 +10,10 @@ |
||
| 10 | 10 | class BaseCommand extends Command { |
| 11 | 11 | |
| 12 | 12 | protected $fs; |
| 13 | - protected $templates; |
|
| 13 | + protected $templates; |
|
| 14 | 14 | |
| 15 | - public function __construct(Filesystem $fs) |
|
| 16 | - { |
|
| 15 | + public function __construct(Filesystem $fs) |
|
| 16 | + { |
|
| 17 | 17 | parent::__construct(); |
| 18 | 18 | |
| 19 | 19 | $this->fs = $fs; |
@@ -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 | } |