| @@ 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 | { |
|
| @@ 231-238 (lines=8) @@ | ||
| 228 | * |
|
| 229 | * @return array |
|
| 230 | */ |
|
| 231 | protected function getOptions() |
|
| 232 | { |
|
| 233 | return [ |
|
| 234 | ['class', null, InputOption::VALUE_OPTIONAL, 'The class name of the root seeder.'], |
|
| 235 | ['database', null, InputOption::VALUE_OPTIONAL, 'The database connection to seed.'], |
|
| 236 | ['force', null, InputOption::VALUE_NONE, 'Force the operation to run when in production.'], |
|
| 237 | ]; |
|
| 238 | } |
|
| 239 | } |
|
| 240 | ||