Ojs\ApiBundle\Controller\Admin\JournalRestController::newJournalAction PHP Метод

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

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