| 1 | <?php |
||
| 9 | class Command extends SymfonyCommand |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @param InputInterface $input |
||
| 13 | * @param OutputInterface $output |
||
| 14 | * |
||
| 15 | * @return int |
||
| 16 | */ |
||
| 17 | public function run(InputInterface $input, OutputInterface $output) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Initialize command and validate input. |
||
| 30 | * |
||
| 31 | * @param InputInterface $input |
||
| 32 | * @param OutputInterface $output |
||
| 33 | */ |
||
| 34 | protected function initialize(InputInterface $input, OutputInterface $output) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Validate user input. |
||
| 41 | * |
||
| 42 | * @param InputInterface $input |
||
| 43 | */ |
||
| 44 | protected function validateInput(InputInterface $input) |
||
| 47 | } |
||
| 48 |