Method | Description | |
---|---|---|
it_adds_missing_channel_pricings_on_pre_set_data ( Sylius\Component\Core\Model\ChannelInterface $firstChannel, Sylius\Component\Core\Model\ChannelInterface $secondChannel, Sylius\Component\Core\Model\ChannelPricingInterface $channelPricing, Sylius\Component\Channel\Repository\ChannelRepositoryInterface $channelRepository, Sylius\Component\Resource\Factory\FactoryInterface $channelPricingFactory, Symfony\Component\Form\FormEvent $formEvent, Sylius\Component\Core\Model\ProductVariantInterface $productVariant ) | ||
it_implements_event_subscriber_interface ( ) | ||
it_is_initializable ( ) | ||
it_listens_on_pre_set_data_and_submit_events ( ) | ||
it_removes_channel_pricings_with_not_specified_price_on_submit ( Sylius\Component\Core\Model\ChannelPricingInterface $channelPricingWithPrice, Sylius\Component\Core\Model\ChannelPricingInterface $channelPricingWithoutPrice, Symfony\Component\Form\FormEvent $formEvent, Sylius\Component\Core\Model\ProductVariantInterface $productVariant ) | ||
let ( Sylius\Component\Channel\Repository\ChannelRepositoryInterface $channelRepository, Sylius\Component\Resource\Factory\FactoryInterface $channelPricingFactory ) |
public it_adds_missing_channel_pricings_on_pre_set_data ( Sylius\Component\Core\Model\ChannelInterface $firstChannel, Sylius\Component\Core\Model\ChannelInterface $secondChannel, Sylius\Component\Core\Model\ChannelPricingInterface $channelPricing, Sylius\Component\Channel\Repository\ChannelRepositoryInterface $channelRepository, Sylius\Component\Resource\Factory\FactoryInterface $channelPricingFactory, Symfony\Component\Form\FormEvent $formEvent, Sylius\Component\Core\Model\ProductVariantInterface $productVariant ) | ||
$firstChannel | Sylius\Component\Core\Model\ChannelInterface | |
$secondChannel | Sylius\Component\Core\Model\ChannelInterface | |
$channelPricing | Sylius\Component\Core\Model\ChannelPricingInterface | |
$channelRepository | Sylius\Component\Channel\Repository\ChannelRepositoryInterface | |
$channelPricingFactory | Sylius\Component\Resource\Factory\FactoryInterface | |
$formEvent | Symfony\Component\Form\FormEvent | |
$productVariant | Sylius\Component\Core\Model\ProductVariantInterface |
public it_implements_event_subscriber_interface ( ) |
public it_listens_on_pre_set_data_and_submit_events ( ) |
public it_removes_channel_pricings_with_not_specified_price_on_submit ( Sylius\Component\Core\Model\ChannelPricingInterface $channelPricingWithPrice, Sylius\Component\Core\Model\ChannelPricingInterface $channelPricingWithoutPrice, Symfony\Component\Form\FormEvent $formEvent, Sylius\Component\Core\Model\ProductVariantInterface $productVariant ) | ||
$channelPricingWithPrice | Sylius\Component\Core\Model\ChannelPricingInterface | |
$channelPricingWithoutPrice | Sylius\Component\Core\Model\ChannelPricingInterface | |
$formEvent | Symfony\Component\Form\FormEvent | |
$productVariant | Sylius\Component\Core\Model\ProductVariantInterface |
public let ( Sylius\Component\Channel\Repository\ChannelRepositoryInterface $channelRepository, Sylius\Component\Resource\Factory\FactoryInterface $channelPricingFactory ) | ||
$channelRepository | Sylius\Component\Channel\Repository\ChannelRepositoryInterface | |
$channelPricingFactory | Sylius\Component\Resource\Factory\FactoryInterface |