Ojs\CoreBundle\Command\DeleteJournalCommand::refreshJournal PHP Метод

refreshJournal() приватный Метод

private refreshJournal ( Symfony\Component\Console\Input\InputInterface $input )
$input Symfony\Component\Console\Input\InputInterface
    private function refreshJournal(InputInterface $input)
    {
        $this->journal = $this->em->getRepository('OjsJournalBundle:Journal')->find($input->getArgument('journalId'));
        if (!$this->journal) {
            throw new \LogicException('Please support valid journal id');
        }
    }