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

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

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