PHP 클래스 spec\Sylius\Bundle\ResourceBundle\Controller\ResourceFormFactorySpec

저자: Paweł Jędrzejewski ([email protected])
상속: extends PhpSpec\ObjectBehavior
파일 보기 프로젝트 열기: sylius/sylius

공개 메소드들

메소드 설명
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