PHP Class spec\Sylius\Bundle\ProductBundle\Form\EventSubscriber\BuildProductVariantFormSubscriberSpec

Inheritance: extends PhpSpec\ObjectBehavior
Datei anzeigen Open project: sylius/sylius

Public Methods

Method Description
it_adds_options_on_pre_set_data_event_with_configurable_options ( Symfony\Component\Form\FormEvent $event, Symfony\Component\Form\FormFactoryInterface $factory, Symfony\Component\Form\FormInterface $form, Symfony\Component\Form\FormInterface $optionsForm, Sylius\Component\Product\Model\ProductInterface $variable, Sylius\Component\Product\Model\ProductOptionInterface $options, Sylius\Component\Product\Model\ProductOptionValueInterface $optionValue, Sylius\Component\Product\Model\ProductVariantInterface $variant )
it_adds_options_on_pre_set_data_event_without_configurable_options ( Symfony\Component\Form\FormEvent $event, Symfony\Component\Form\FormFactoryInterface $factory, Symfony\Component\Form\FormInterface $form, Symfony\Component\Form\FormInterface $optionsForm, Sylius\Component\Product\Model\ProductInterface $variable, Sylius\Component\Product\Model\ProductOptionInterface $options, Sylius\Component\Product\Model\ProductOptionValueInterface $optionValue, Sylius\Component\Product\Model\ProductVariantInterface $variant )
it_is_initializable ( )
it_subscribes_to_event ( )
let ( Symfony\Component\Form\FormFactoryInterface $factory )

Method Details

it_adds_options_on_pre_set_data_event_with_configurable_options() public method

public it_adds_options_on_pre_set_data_event_with_configurable_options ( Symfony\Component\Form\FormEvent $event, Symfony\Component\Form\FormFactoryInterface $factory, Symfony\Component\Form\FormInterface $form, Symfony\Component\Form\FormInterface $optionsForm, Sylius\Component\Product\Model\ProductInterface $variable, Sylius\Component\Product\Model\ProductOptionInterface $options, Sylius\Component\Product\Model\ProductOptionValueInterface $optionValue, Sylius\Component\Product\Model\ProductVariantInterface $variant )
$event Symfony\Component\Form\FormEvent
$factory Symfony\Component\Form\FormFactoryInterface
$form Symfony\Component\Form\FormInterface
$optionsForm Symfony\Component\Form\FormInterface
$variable Sylius\Component\Product\Model\ProductInterface
$options Sylius\Component\Product\Model\ProductOptionInterface
$optionValue Sylius\Component\Product\Model\ProductOptionValueInterface
$variant Sylius\Component\Product\Model\ProductVariantInterface

it_adds_options_on_pre_set_data_event_without_configurable_options() public method

public it_adds_options_on_pre_set_data_event_without_configurable_options ( Symfony\Component\Form\FormEvent $event, Symfony\Component\Form\FormFactoryInterface $factory, Symfony\Component\Form\FormInterface $form, Symfony\Component\Form\FormInterface $optionsForm, Sylius\Component\Product\Model\ProductInterface $variable, Sylius\Component\Product\Model\ProductOptionInterface $options, Sylius\Component\Product\Model\ProductOptionValueInterface $optionValue, Sylius\Component\Product\Model\ProductVariantInterface $variant )
$event Symfony\Component\Form\FormEvent
$factory Symfony\Component\Form\FormFactoryInterface
$form Symfony\Component\Form\FormInterface
$optionsForm Symfony\Component\Form\FormInterface
$variable Sylius\Component\Product\Model\ProductInterface
$options Sylius\Component\Product\Model\ProductOptionInterface
$optionValue Sylius\Component\Product\Model\ProductOptionValueInterface
$variant Sylius\Component\Product\Model\ProductVariantInterface

it_is_initializable() public method

public it_is_initializable ( )

it_subscribes_to_event() public method

let() public method

public let ( Symfony\Component\Form\FormFactoryInterface $factory )
$factory Symfony\Component\Form\FormFactoryInterface