| @@ 69-76 (lines=8) @@ | ||
| 66 | * |
|
| 67 | * @return array |
|
| 68 | */ |
|
| 69 | protected function getOptions() |
|
| 70 | { |
|
| 71 | return [ |
|
| 72 | ['database', null, InputOption::VALUE_OPTIONAL, 'The database connection to use.'], |
|
| 73 | ['force', null, InputOption::VALUE_NONE, 'Force the operation to run when in production.'], |
|
| 74 | ['seed', null, InputOption::VALUE_NONE, 'Indicates if the seed task should be re-run.'], |
|
| 75 | ]; |
|
| 76 | } |
|
| 77 | ||
| 78 | public function getModuleName() |
|
| 79 | { |
|
| @@ 198-205 (lines=8) @@ | ||
| 195 | * |
|
| 196 | * @return array |
|
| 197 | */ |
|
| 198 | protected function getOptions() |
|
| 199 | { |
|
| 200 | return [ |
|
| 201 | ['class', null, InputOption::VALUE_OPTIONAL, 'The class name of the root seeder.'], |
|
| 202 | ['database', null, InputOption::VALUE_OPTIONAL, 'The database connection to seed.'], |
|
| 203 | ['force', null, InputOption::VALUE_NONE, 'Force the operation to run when in production.'], |
|
| 204 | ]; |
|
| 205 | } |
|
| 206 | } |
|
| 207 | ||