public function newPublishermanagerAction() { if (!$this->isGranted('CREATE', new PublisherManagers())) { throw new AccessDeniedException(); } return $this->createForm(new PublisherManagersType(), null, ['csrf_protection' => false]); }