Ojs\CoreBundle\Command\DeleteJournalCommand::removeIssues PHP 메소드

removeIssues() 개인적인 메소드

private removeIssues ( Symfony\Component\Console\Input\InputInterface $input )
$input Symfony\Component\Console\Input\InputInterface
    private function removeIssues(InputInterface $input)
    {
        $this->refreshJournal($input);
        $journalIssues = $this->em->getRepository('OjsJournalBundle:Issue')->findBy(['journal' => $this->journal]);
        $this->io->progressStart(count($journalIssues));
        foreach ($journalIssues as $issue) {
            $this->io->progressAdvance();
            $this->em->remove($issue);
        }
        $this->em->flush();
    }