Ojs\AdminBundle\Controller\AdminPeriodController::showAction PHP Method

showAction() public method

Finds and displays a Period entity.
public showAction ( Period $entity ) : Response
$entity Ojs\JournalBundle\Entity\Period
return Symfony\Component\HttpFoundation\Response
    public function showAction(Period $entity)
    {
        $this->throw404IfNotFound($entity);
        $token = $this->get('security.csrf.token_manager')->refreshToken('ojs_admin_period' . $entity->getId());
        return $this->render('OjsAdminBundle:AdminPeriod:show.html.twig', array('entity' => $entity, 'token' => $token));
    }