PHP Class Sylius\Bundle\CoreBundle\Form\EventSubscriber\ChannelPricingsFormSubscriber

Author: Mateusz Zalewski ([email protected])
Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
ファイルを表示 Open project: sylius/sylius

Public Methods

Method Description
__construct ( Sylius\Component\Channel\Repository\ChannelRepositoryInterface $channelRepository, Sylius\Component\Resource\Factory\FactoryInterface $channelPricingFactory )
getSubscribedEvents ( )
preSetData ( Symfony\Component\Form\FormEvent $event )
submit ( Symfony\Component\Form\FormEvent $event )

Method Details

__construct() public method

public __construct ( Sylius\Component\Channel\Repository\ChannelRepositoryInterface $channelRepository, Sylius\Component\Resource\Factory\FactoryInterface $channelPricingFactory )
$channelRepository Sylius\Component\Channel\Repository\ChannelRepositoryInterface
$channelPricingFactory Sylius\Component\Resource\Factory\FactoryInterface

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

preSetData() public method

public preSetData ( Symfony\Component\Form\FormEvent $event )
$event Symfony\Component\Form\FormEvent

submit() public method

public submit ( Symfony\Component\Form\FormEvent $event )
$event Symfony\Component\Form\FormEvent