Ojs\AdminBundle\Controller\AdminPostController::showAction PHP Метод

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

Finds and displays a Post entity.
public showAction ( AdminPost $entity ) : Response
$entity Ojs\AdminBundle\Entity\AdminPost
Результат Symfony\Component\HttpFoundation\Response
    public function showAction(AdminPost $entity)
    {
        $this->throw404IfNotFound($entity);
        $token = $this->get('security.csrf.token_manager')->refreshToken('ojs_admin_post' . $entity->getId());
        return $this->render('OjsAdminBundle:AdminPost:show.html.twig', ['entity' => $entity, 'token' => $token]);
    }