getIo() публичный Метод

public getIo ( ) : SymfonyStyle
Результат Symfony\Component\Console\Style\SymfonyStyle
Пример #1
0
 /**
  * @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();
 }