메소드 | 설명 | |
---|---|---|
__construct ( Sylius\Component\Registry\ServiceRegistryInterface $ruleCheckerRegistry, Symfony\Component\Form\FormFactoryInterface $factory, Sylius\Component\Channel\Repository\ChannelRepositoryInterface $channelRepository ) |
메소드 | 설명 | |
---|---|---|
addConfigurationFields ( Symfony\Component\Form\FormInterface $form, $registryIdentifier, array $data = [] ) | ||
getConfiguration ( Sylius\Component\Promotion\Model\PromotionRuleInterface $rule ) : array |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | array |