| @@ 102-109 (lines=8) @@ | ||
| 99 | * |
|
| 100 | * @return array |
|
| 101 | */ |
|
| 102 | protected function getOptions() |
|
| 103 | { |
|
| 104 | return [ |
|
| 105 | ['database', null, InputOption::VALUE_OPTIONAL, 'The database connection to use.'], |
|
| 106 | ['force', null, InputOption::VALUE_NONE, 'Force the operation to run while in production.'], |
|
| 107 | ['pretend', null, InputOption::VALUE_NONE, 'Dump the SQL queries that would be run.'], |
|
| 108 | ]; |
|
| 109 | } |
|
| 110 | } |
|
| 111 | ||
| @@ 126-133 (lines=8) @@ | ||
| 123 | * |
|
| 124 | * @return array |
|
| 125 | */ |
|
| 126 | protected function getOptions() |
|
| 127 | { |
|
| 128 | return [ |
|
| 129 | ['class', null, InputOption::VALUE_OPTIONAL, 'The class name of the module\'s root seeder.'], |
|
| 130 | ['database', null, InputOption::VALUE_OPTIONAL, 'The database connection to seed.'], |
|
| 131 | ['force', null, InputOption::VALUE_NONE, 'Force the operation to run while in production.'], |
|
| 132 | ]; |
|
| 133 | } |
|
| 134 | } |
|
| 135 | ||