PHP Class spec\Sylius\Bundle\CoreBundle\Form\EventSubscriber\ChannelFormSubscriberSpec

Author: Grzegorz Sadowski ([email protected])
Inheritance: extends PhpSpec\ObjectBehavior
Mostra file Open project: sylius/sylius

Public Methods

Method Description
it_adds_a_base_currency_to_currencies_when_it_is_not_there ( Symfony\Component\Form\FormEvent $event )
it_adds_a_default_locale_and_a_base_currency_when_they_are_not_there ( Symfony\Component\Form\FormEvent $event )
it_adds_a_default_locale_to_locales_when_it_is_not_there ( Symfony\Component\Form\FormEvent $event )
it_appends_a_base_currency_to_currencies_when_it_is_not_there ( Symfony\Component\Form\FormEvent $event )
it_appends_a_default_locale_to_locales_when_it_is_not_there ( Symfony\Component\Form\FormEvent $event )
it_is_an_event_subscriber_instance ( )
it_is_initializable ( )
it_listens_on_pre_submit_data_event ( )

Method Details

it_adds_a_base_currency_to_currencies_when_it_is_not_there() public method

public it_adds_a_base_currency_to_currencies_when_it_is_not_there ( Symfony\Component\Form\FormEvent $event )
$event Symfony\Component\Form\FormEvent

it_adds_a_default_locale_and_a_base_currency_when_they_are_not_there() public method

public it_adds_a_default_locale_and_a_base_currency_when_they_are_not_there ( Symfony\Component\Form\FormEvent $event )
$event Symfony\Component\Form\FormEvent

it_adds_a_default_locale_to_locales_when_it_is_not_there() public method

public it_adds_a_default_locale_to_locales_when_it_is_not_there ( Symfony\Component\Form\FormEvent $event )
$event Symfony\Component\Form\FormEvent

it_appends_a_base_currency_to_currencies_when_it_is_not_there() public method

public it_appends_a_base_currency_to_currencies_when_it_is_not_there ( Symfony\Component\Form\FormEvent $event )
$event Symfony\Component\Form\FormEvent

it_appends_a_default_locale_to_locales_when_it_is_not_there() public method

public it_appends_a_default_locale_to_locales_when_it_is_not_there ( Symfony\Component\Form\FormEvent $event )
$event Symfony\Component\Form\FormEvent

it_is_an_event_subscriber_instance() public method

it_is_initializable() public method

public it_is_initializable ( )

it_listens_on_pre_submit_data_event() public method