Ojs\CoreBundle\Command\ValidateEntitiesCommand::initialize PHP Метод

initialize() защищенный Метод

protected initialize ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
    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();
    }