Ojs\SiteBundle\Controller\LockssController::volAction PHP Метод

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

public volAction ( $slug, integer $year ) : Response
$slug
$year integer
Результат Symfony\Component\HttpFoundation\Response
    public function volAction($slug, $year)
    {
        $em = $this->getDoctrine()->getManager();
        /** @var Journal $journal */
        $journal = $em->getRepository('OjsJournalBundle:Journal')->findOneBy(['slug' => $slug]);
        $this->throw404IfNotFound($journal);
        return $this->render('OjsSiteBundle:Lockss:vol.html.twig', ['journal' => $journal, 'year' => $year]);
    }