Свойство | Тип | Описание | |
---|---|---|---|
$calculatorRegistry | Sylius\Component\Registry\ServiceRegistryInterface | ||
$factory | Symfony\Component\Form\FormFactoryInterface |
Метод | Описание | |
---|---|---|
__construct ( Sylius\Component\Registry\ServiceRegistryInterface $calculatorRegistry, Symfony\Component\Form\FormFactoryInterface $factory, Sylius\Bundle\ResourceBundle\Form\Registry\FormTypeRegistryInterface $formTypeRegistry ) | ||
getSubscribedEvents ( ) | ||
preSetData ( Symfony\Component\Form\FormEvent $event ) | ||
preSubmit ( Symfony\Component\Form\FormEvent $event ) |
Метод | Описание | |
---|---|---|
addConfigurationFields ( Symfony\Component\Form\FormInterface $form, string $calculatorName, array $data = [] ) |
public __construct ( Sylius\Component\Registry\ServiceRegistryInterface $calculatorRegistry, Symfony\Component\Form\FormFactoryInterface $factory, Sylius\Bundle\ResourceBundle\Form\Registry\FormTypeRegistryInterface $formTypeRegistry ) | ||
$calculatorRegistry | Sylius\Component\Registry\ServiceRegistryInterface | |
$factory | Symfony\Component\Form\FormFactoryInterface | |
$formTypeRegistry | Sylius\Bundle\ResourceBundle\Form\Registry\FormTypeRegistryInterface |
protected addConfigurationFields ( Symfony\Component\Form\FormInterface $form, string $calculatorName, array $data = [] ) | ||
$form | Symfony\Component\Form\FormInterface | |
$calculatorName | string | |
$data | array |
public preSetData ( Symfony\Component\Form\FormEvent $event ) | ||
$event | Symfony\Component\Form\FormEvent |
public preSubmit ( Symfony\Component\Form\FormEvent $event ) | ||
$event | Symfony\Component\Form\FormEvent |
protected ServiceRegistryInterface,Sylius\Component\Registry $calculatorRegistry | ||
Результат | Sylius\Component\Registry\ServiceRegistryInterface |