src/Commands/CommandMakeCommand.php 1 location
|
@@ 47-53 (lines=7) @@
|
| 44 |
|
* |
| 45 |
|
* @return array |
| 46 |
|
*/ |
| 47 |
|
protected function getArguments() |
| 48 |
|
{ |
| 49 |
|
return [ |
| 50 |
|
['name', InputArgument::REQUIRED, 'The name of the command.'], |
| 51 |
|
['module', InputArgument::OPTIONAL, 'The name of module will be used.'], |
| 52 |
|
]; |
| 53 |
|
} |
| 54 |
|
|
| 55 |
|
/** |
| 56 |
|
* Get the console command options. |
src/Commands/MigrationMakeCommand.php 1 location
|
@@ 37-43 (lines=7) @@
|
| 34 |
|
* |
| 35 |
|
* @return array |
| 36 |
|
*/ |
| 37 |
|
protected function getArguments() |
| 38 |
|
{ |
| 39 |
|
return [ |
| 40 |
|
['name', InputArgument::REQUIRED, 'The migration name will be created.'], |
| 41 |
|
['module', InputArgument::OPTIONAL, 'The name of module will be created.'], |
| 42 |
|
]; |
| 43 |
|
} |
| 44 |
|
|
| 45 |
|
/** |
| 46 |
|
* Get the console command options. |