public function multipleMailAction() { /** @var User $user */ $user = $this->getUser(); if (!$user) { throw new AccessDeniedException(); } return $this->render('OjsUserBundle:MultipleMail:multiple_mail.html.twig', array('user' => $user)); }