Property | Type | Description | |
---|---|---|---|
$calculatorRegistry | Sylius\Component\Registry\ServiceRegistryInterface | ||
$factory | Symfony\Component\Form\FormFactoryInterface |
Method | Description | |
---|---|---|
__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 ) |
Method | Description | |
---|---|---|
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 | ||
return | Sylius\Component\Registry\ServiceRegistryInterface |