PHP Class spec\Sylius\Bundle\ShippingBundle\Form\EventSubscriber\BuildShippingMethodFormSubscriberSpec

Inheritance: extends PhpSpec\ObjectBehavior
Mostrar archivo Open project: sylius/sylius

Public Methods

Method Description
it_adds_configuration_field_on_post_submit ( $calculatorRegistry, $factory, $formRegistry, Symfony\Component\Form\FormEvent $event, Symfony\Component\Form\FormInterface $form, Symfony\Component\Form\FormInterface $formConfiguration, Sylius\Component\Shipping\Calculator\CalculatorInterface $calculator )
it_adds_configuration_field_on_pre_set_data ( $calculatorRegistry, $factory, $formRegistry, Symfony\Component\Form\FormEvent $event, Symfony\Component\Form\FormInterface $form, Sylius\Component\Shipping\Model\ShippingMethod $shippingMethod, Symfony\Component\Form\FormInterface $formConfiguration, Sylius\Component\Shipping\Calculator\CalculatorInterface $calculator )
it_is_a_subscriber ( )
it_is_initializable ( )
it_subscribes_to_event ( )
let ( Sylius\Component\Registry\ServiceRegistryInterface $calculatorRegistry, Symfony\Component\Form\FormFactoryInterface $factory, Sylius\Bundle\ResourceBundle\Form\Registry\FormTypeRegistryInterface $formRegistry )

Method Details

it_adds_configuration_field_on_post_submit() public method

public it_adds_configuration_field_on_post_submit ( $calculatorRegistry, $factory, $formRegistry, Symfony\Component\Form\FormEvent $event, Symfony\Component\Form\FormInterface $form, Symfony\Component\Form\FormInterface $formConfiguration, Sylius\Component\Shipping\Calculator\CalculatorInterface $calculator )
$event Symfony\Component\Form\FormEvent
$form Symfony\Component\Form\FormInterface
$formConfiguration Symfony\Component\Form\FormInterface
$calculator Sylius\Component\Shipping\Calculator\CalculatorInterface

it_adds_configuration_field_on_pre_set_data() public method

public it_adds_configuration_field_on_pre_set_data ( $calculatorRegistry, $factory, $formRegistry, Symfony\Component\Form\FormEvent $event, Symfony\Component\Form\FormInterface $form, Sylius\Component\Shipping\Model\ShippingMethod $shippingMethod, Symfony\Component\Form\FormInterface $formConfiguration, Sylius\Component\Shipping\Calculator\CalculatorInterface $calculator )
$event Symfony\Component\Form\FormEvent
$form Symfony\Component\Form\FormInterface
$shippingMethod Sylius\Component\Shipping\Model\ShippingMethod
$formConfiguration Symfony\Component\Form\FormInterface
$calculator Sylius\Component\Shipping\Calculator\CalculatorInterface

it_is_a_subscriber() public method

public it_is_a_subscriber ( )

it_is_initializable() public method

public it_is_initializable ( )

it_subscribes_to_event() public method

let() public method

public let ( Sylius\Component\Registry\ServiceRegistryInterface $calculatorRegistry, Symfony\Component\Form\FormFactoryInterface $factory, Sylius\Bundle\ResourceBundle\Form\Registry\FormTypeRegistryInterface $formRegistry )
$calculatorRegistry Sylius\Component\Registry\ServiceRegistryInterface
$factory Symfony\Component\Form\FormFactoryInterface
$formRegistry Sylius\Bundle\ResourceBundle\Form\Registry\FormTypeRegistryInterface