PHP 클래스 spec\Sylius\Bundle\ApiBundle\Form\EventSubscriber\AddUserFormSubscriberSpec

저자: Łukasz Chruściel ([email protected])
상속: extends PhpSpec\ObjectBehavior
파일 보기 프로젝트 열기: sylius/sylius

공개 메소드들

메소드 설명
it_adds_user_form_type_and_create_user_check ( Symfony\Component\Form\FormEvent $event, Form $form )
it_does_not_remove_user_form_type_if_users_data_is_not_submitted_and_user_is_created ( Symfony\Component\Form\FormEvent $event, Form $form, Sylius\Component\User\Model\UserAwareInterface $customer, Sylius\Component\User\Model\UserInterface $user )
it_does_not_remove_user_form_type_if_users_data_is_submitted_and_user_data_is_created ( Symfony\Component\Form\FormEvent $event, Form $form, Sylius\Component\User\Model\UserAwareInterface $customer, Sylius\Component\User\Model\UserInterface $user )
it_does_not_remove_user_form_type_if_users_data_is_submitted_and_user_is_not_created ( Symfony\Component\Form\FormEvent $event, Form $form, Sylius\Component\User\Model\UserAwareInterface $customer )
it_is_event_subscriber_instance ( )
it_is_initializable ( )
it_remove_user_form_type_if_users_data_is_not_submitted_and_user_is_not_created ( Symfony\Component\Form\FormEvent $event, Form $form, Sylius\Component\User\Model\UserAwareInterface $customer )
it_removes_user_form_type_by_default ( Symfony\Component\Form\FormEvent $event, Form $form, Sylius\Component\User\Model\UserAwareInterface $customer )
it_throws_invalid_argument_exception_when_forms_normalized_data_does_not_implement_user_aware_interface ( Symfony\Component\Form\FormEvent $event, Form $form, Sylius\Component\User\Model\UserInterface $user )
let ( )

메소드 상세

it_adds_user_form_type_and_create_user_check() 공개 메소드

public it_adds_user_form_type_and_create_user_check ( Symfony\Component\Form\FormEvent $event, Form $form )
$event Symfony\Component\Form\FormEvent
$form Symfony\Component\Form\Form

it_does_not_remove_user_form_type_if_users_data_is_not_submitted_and_user_is_created() 공개 메소드

public it_does_not_remove_user_form_type_if_users_data_is_not_submitted_and_user_is_created ( Symfony\Component\Form\FormEvent $event, Form $form, Sylius\Component\User\Model\UserAwareInterface $customer, Sylius\Component\User\Model\UserInterface $user )
$event Symfony\Component\Form\FormEvent
$form Symfony\Component\Form\Form
$customer Sylius\Component\User\Model\UserAwareInterface
$user Sylius\Component\User\Model\UserInterface

it_does_not_remove_user_form_type_if_users_data_is_submitted_and_user_data_is_created() 공개 메소드

public it_does_not_remove_user_form_type_if_users_data_is_submitted_and_user_data_is_created ( Symfony\Component\Form\FormEvent $event, Form $form, Sylius\Component\User\Model\UserAwareInterface $customer, Sylius\Component\User\Model\UserInterface $user )
$event Symfony\Component\Form\FormEvent
$form Symfony\Component\Form\Form
$customer Sylius\Component\User\Model\UserAwareInterface
$user Sylius\Component\User\Model\UserInterface

it_does_not_remove_user_form_type_if_users_data_is_submitted_and_user_is_not_created() 공개 메소드

public it_does_not_remove_user_form_type_if_users_data_is_submitted_and_user_is_not_created ( Symfony\Component\Form\FormEvent $event, Form $form, Sylius\Component\User\Model\UserAwareInterface $customer )
$event Symfony\Component\Form\FormEvent
$form Symfony\Component\Form\Form
$customer Sylius\Component\User\Model\UserAwareInterface

it_is_event_subscriber_instance() 공개 메소드

it_is_initializable() 공개 메소드

public it_is_initializable ( )

it_remove_user_form_type_if_users_data_is_not_submitted_and_user_is_not_created() 공개 메소드

public it_remove_user_form_type_if_users_data_is_not_submitted_and_user_is_not_created ( Symfony\Component\Form\FormEvent $event, Form $form, Sylius\Component\User\Model\UserAwareInterface $customer )
$event Symfony\Component\Form\FormEvent
$form Symfony\Component\Form\Form
$customer Sylius\Component\User\Model\UserAwareInterface

it_removes_user_form_type_by_default() 공개 메소드

public it_removes_user_form_type_by_default ( Symfony\Component\Form\FormEvent $event, Form $form, Sylius\Component\User\Model\UserAwareInterface $customer )
$event Symfony\Component\Form\FormEvent
$form Symfony\Component\Form\Form
$customer Sylius\Component\User\Model\UserAwareInterface

it_throws_invalid_argument_exception_when_forms_normalized_data_does_not_implement_user_aware_interface() 공개 메소드

public it_throws_invalid_argument_exception_when_forms_normalized_data_does_not_implement_user_aware_interface ( Symfony\Component\Form\FormEvent $event, Form $form, Sylius\Component\User\Model\UserInterface $user )
$event Symfony\Component\Form\FormEvent
$form Symfony\Component\Form\Form
$user Sylius\Component\User\Model\UserInterface

let() 공개 메소드

public let ( )