Method | Description | |
---|---|---|
__construct ( Sylius\Component\Registry\ServiceRegistryInterface $ruleCheckerRegistry, Symfony\Component\Form\FormFactoryInterface $factory, Sylius\Component\Channel\Repository\ChannelRepositoryInterface $channelRepository ) |
Method | Description | |
---|---|---|
addConfigurationFields ( Symfony\Component\Form\FormInterface $form, $registryIdentifier, array $data = [] ) | ||
getConfiguration ( Sylius\Component\Promotion\Model\PromotionRuleInterface $rule ) : array |
Method | Description | |
---|---|---|
createConfigurationField ( string $configuration, array $data ) : Symfony\Component\Form\FormInterface | ||
createConfigurationFieldForChannel ( Sylius\Component\Core\Model\ChannelInterface $channel, string $configuration, array $data ) : Symfony\Component\Form\FormInterface |
public __construct ( Sylius\Component\Registry\ServiceRegistryInterface $ruleCheckerRegistry, Symfony\Component\Form\FormFactoryInterface $factory, Sylius\Component\Channel\Repository\ChannelRepositoryInterface $channelRepository ) | ||
$ruleCheckerRegistry | Sylius\Component\Registry\ServiceRegistryInterface | |
$factory | Symfony\Component\Form\FormFactoryInterface | |
$channelRepository | Sylius\Component\Channel\Repository\ChannelRepositoryInterface |
protected addConfigurationFields ( Symfony\Component\Form\FormInterface $form, $registryIdentifier, array $data = [] ) | ||
$form | Symfony\Component\Form\FormInterface | |
$data | array |
protected getConfiguration ( Sylius\Component\Promotion\Model\PromotionRuleInterface $rule ) : array | ||
$rule | Sylius\Component\Promotion\Model\PromotionRuleInterface | |
return | array |