| 1 | <?php |
||
| 7 | trait CommandArguments |
||
| 8 | { |
||
| 9 | use ConsoleMessages; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * Get console command arguments. |
||
| 13 | * |
||
| 14 | * @return array |
||
| 15 | */ |
||
| 16 | protected function getArguments() |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Set the command arguments |
||
| 23 | * |
||
| 24 | * @return array |
||
| 25 | */ |
||
| 26 | protected function setArguments(): array |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Set the command options |
||
| 33 | * |
||
| 34 | * @return array |
||
| 35 | */ |
||
| 36 | protected function setOptions(): array |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Get console command options. |
||
| 43 | * |
||
| 44 | * @return array |
||
| 45 | */ |
||
| 46 | protected function getOptions() |
||
| 50 | } |
||
| 51 |