PHP Класс spec\Sylius\Bundle\ProductBundle\Form\EventSubscriber\BuildProductVariantFormSubscriberSpec

Наследование: extends PhpSpec\ObjectBehavior
Показать файл Открыть проект

Открытые методы

Метод Описание
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 )

Описание методов

it_adds_options_on_pre_set_data_event_with_configurable_options() публичный Метод

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 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 it_is_initializable ( )

it_subscribes_to_event() публичный Метод

let() публичный Метод

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