| @@ 238-245 (lines=8) @@ | ||
| 235 | * |
|
| 236 | * @return array |
|
| 237 | */ |
|
| 238 | protected function getOptions() |
|
| 239 | { |
|
| 240 | return [ |
|
| 241 | ['class', null, InputOption::VALUE_OPTIONAL, 'The class name of the root seeder.'], |
|
| 242 | ['database', null, InputOption::VALUE_OPTIONAL, 'The database connection to seed.'], |
|
| 243 | ['force', null, InputOption::VALUE_NONE, 'Force the operation to run when in production.'], |
|
| 244 | ]; |
|
| 245 | } |
|
| 246 | } |
|
| 247 | ||
| @@ 79-86 (lines=8) @@ | ||
| 76 | * |
|
| 77 | * @return array |
|
| 78 | */ |
|
| 79 | protected function getOptions() |
|
| 80 | { |
|
| 81 | return [ |
|
| 82 | ['database', null, InputOption::VALUE_OPTIONAL, 'The database connection to use.'], |
|
| 83 | ['force', null, InputOption::VALUE_NONE, 'Force the operation to run when in production.'], |
|
| 84 | ['seed', null, InputOption::VALUE_NONE, 'Indicates if the seed task should be re-run.'], |
|
| 85 | ]; |
|
| 86 | } |
|
| 87 | ||
| 88 | public function getModuleName() |
|
| 89 | { |
|