input = $event->getInput(); $this->output = $event->getOutput(); } /** * NB: will return NULL when called from anything else but a console application context! * @return \Symfony\Component\Console\Input\InputInterface */ public function getInput() { return $this->input; } /** * NB: will return NULL when called from anything else but a console application context! * @return \Symfony\Component\Console\Output\OutputInterface */ public function getOutput() { return $this->output; } }