Ojs\ApiBundle\Controller\Admin\PublisherManagerRestController::newPublishermanagerAction PHP Метод

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

Presents the form to use to create a new PublisherManager.
public newPublishermanagerAction ( ) : Symfony\Component\Form\FormTypeInterface
Результат Symfony\Component\Form\FormTypeInterface
    public function newPublishermanagerAction()
    {
        if (!$this->isGranted('CREATE', new PublisherManagers())) {
            throw new AccessDeniedException();
        }
        return $this->createForm(new PublisherManagersType(), null, ['csrf_protection' => false]);
    }