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

저자: Anna Walasek ([email protected])
상속: extends PhpSpec\ObjectBehavior
파일 보기 프로젝트 열기: sylius/sylius

공개 메소드들

메소드 설명
it_does_not_set_base_currency_as_enabled_when_channel_is_new ( Symfony\Component\Form\FormEvent $event, Sylius\Component\Core\Model\ChannelInterface $channel, Symfony\Component\Form\FormInterface $form )
it_implements_event_subscriber_interface ( )
it_is_initializable ( )
it_sets_base_currency_as_disabled_when_channel_is_not_new ( Symfony\Component\Form\FormEvent $event, Sylius\Component\Core\Model\ChannelInterface $channel, Symfony\Component\Form\FormInterface $form )
it_subscribes_to_event ( )
it_throws_unexpected_type_exception_when_resource_does_not_implements_channel_interface ( Symfony\Component\Form\FormEvent $event, $resource )

메소드 상세

it_does_not_set_base_currency_as_enabled_when_channel_is_new() 공개 메소드

public it_does_not_set_base_currency_as_enabled_when_channel_is_new ( Symfony\Component\Form\FormEvent $event, Sylius\Component\Core\Model\ChannelInterface $channel, Symfony\Component\Form\FormInterface $form )
$event Symfony\Component\Form\FormEvent
$channel Sylius\Component\Core\Model\ChannelInterface
$form Symfony\Component\Form\FormInterface

it_implements_event_subscriber_interface() 공개 메소드

it_is_initializable() 공개 메소드

public it_is_initializable ( )

it_sets_base_currency_as_disabled_when_channel_is_not_new() 공개 메소드

public it_sets_base_currency_as_disabled_when_channel_is_not_new ( Symfony\Component\Form\FormEvent $event, Sylius\Component\Core\Model\ChannelInterface $channel, Symfony\Component\Form\FormInterface $form )
$event Symfony\Component\Form\FormEvent
$channel Sylius\Component\Core\Model\ChannelInterface
$form Symfony\Component\Form\FormInterface

it_subscribes_to_event() 공개 메소드

it_throws_unexpected_type_exception_when_resource_does_not_implements_channel_interface() 공개 메소드

public it_throws_unexpected_type_exception_when_resource_does_not_implements_channel_interface ( Symfony\Component\Form\FormEvent $event, $resource )
$event Symfony\Component\Form\FormEvent