Ojs\SiteBundle\Controller\HostingController::archiveIndexAction PHP Метод

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

public archiveIndexAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
Результат Symfony\Component\HttpFoundation\Response
    public function archiveIndexAction(Request $request)
    {
        $em = $this->getDoctrine()->getManager();
        $currentHost = $request->getHttpHost();
        $journal = $em->getRepository(Journal::class)->findOneBy(array('domain' => $currentHost, 'status' => JournalStatuses::STATUS_PUBLISHED));
        $this->throw404IfNotFound($journal);
        $response = $this->forward('OjsSiteBundle:Journal:archiveIndex', array('slug' => $journal->getSlug(), 'isJournalHosting' => true));
        return $response;
    }