/** * @param InputInterface $input * @param OutputInterface $output */ protected function initialize(InputInterface $input, OutputInterface $output) { $this->em = $this->getContainer()->get('doctrine')->getManager(); $this->os = new OjsStyle($input, $output); $this->io = $this->os->getIo(); }