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