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

저자: Łukasz Chruściel ([email protected])
저자: Anna Walasek ([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_replace_user_form_by_new_user_form_when_create_user_check_is_checked ( Symfony\Component\Form\FormEvent $event, Form $form, Form $createUserCheckForm, Sylius\Component\User\Model\UserAwareInterface $customer )
it_is_event_subscriber_instance ( )
it_is_initializable ( )
it_replaces_user_form_by_new_user_form_when_create_user_check_is_not_checked ( Symfony\Component\Form\FormEvent $event, Form $form, Form $createUserCheckForm, Sylius\Component\User\Model\UserAwareInterface $customer )
it_throws_invalid_argument_exception_when_data_does_not_implement_user_aware_interface ( Symfony\Component\Form\FormEvent $event, Form $form, Form $createUserCheckForm, 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_replace_user_form_by_new_user_form_when_create_user_check_is_checked() 공개 메소드

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

it_is_event_subscriber_instance() 공개 메소드

it_is_initializable() 공개 메소드

public it_is_initializable ( )

it_replaces_user_form_by_new_user_form_when_create_user_check_is_not_checked() 공개 메소드

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

it_throws_invalid_argument_exception_when_data_does_not_implement_user_aware_interface() 공개 메소드

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

let() 공개 메소드

public let ( )