PHP Класс spec\Sylius\Bundle\ResourceBundle\Controller\ResourceFormFactorySpec

Автор: Paweł Jędrzejewski ([email protected])
Наследование: extends PhpSpec\ObjectBehavior
Показать файл Открыть проект

Открытые методы

Метод Описание
it_creates_appropriate_form_based_on_configuration ( RequestConfiguration $requestConfiguration, Sylius\Component\Resource\Model\ResourceInterface $resource, Symfony\Component\Form\FormFactoryInterface $formFactory, Symfony\Component\Form\FormInterface $form )
it_creates_form_without_root_name_and_disables_csrf_protection_for_non_html_requests ( RequestConfiguration $requestConfiguration, Sylius\Component\Resource\Model\ResourceInterface $resource, Symfony\Component\Form\FormFactoryInterface $formFactory, Symfony\Component\Form\FormInterface $form )
it_implements_resource_form_factory_interface ( )
it_is_initializable ( )
let ( Symfony\Component\Form\FormFactoryInterface $formFactory )

Описание методов

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

public it_creates_appropriate_form_based_on_configuration ( RequestConfiguration $requestConfiguration, Sylius\Component\Resource\Model\ResourceInterface $resource, Symfony\Component\Form\FormFactoryInterface $formFactory, Symfony\Component\Form\FormInterface $form )
$requestConfiguration Sylius\Bundle\ResourceBundle\Controller\RequestConfiguration
$resource Sylius\Component\Resource\Model\ResourceInterface
$formFactory Symfony\Component\Form\FormFactoryInterface
$form Symfony\Component\Form\FormInterface

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

public it_creates_form_without_root_name_and_disables_csrf_protection_for_non_html_requests ( RequestConfiguration $requestConfiguration, Sylius\Component\Resource\Model\ResourceInterface $resource, Symfony\Component\Form\FormFactoryInterface $formFactory, Symfony\Component\Form\FormInterface $form )
$requestConfiguration Sylius\Bundle\ResourceBundle\Controller\RequestConfiguration
$resource Sylius\Component\Resource\Model\ResourceInterface
$formFactory Symfony\Component\Form\FormFactoryInterface
$form Symfony\Component\Form\FormInterface

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

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

public it_is_initializable ( )

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

public let ( Symfony\Component\Form\FormFactoryInterface $formFactory )
$formFactory Symfony\Component\Form\FormFactoryInterface