| 1 | <?php |
||
| 10 | class ConsoleIO |
||
| 11 | { |
||
| 12 | protected $input; |
||
| 13 | protected $output; |
||
| 14 | |||
| 15 | public function onConsoleCommand(ConsoleCommandEvent $event) { |
||
| 19 | |||
| 20 | /** |
||
| 21 | * NB: will return NULL when called from anything else but a console application context! |
||
| 22 | * @return \Symfony\Component\Console\Input\InputInterface |
||
| 23 | */ |
||
| 24 | public function getInput() |
||
| 28 | |||
| 29 | /** |
||
| 30 | * NB: will return NULL when called from anything else but a console application context! |
||
| 31 | * @return \Symfony\Component\Console\Output\OutputInterface |
||
| 32 | */ |
||
| 33 | public function getOutput() |
||
| 37 | } |
||
| 38 |