PHP Class Sylius\Bundle\ProductBundle\Form\EventSubscriber\ProductOptionFieldSubscriber

Author: Łukasz Chruściel ([email protected])
Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
显示文件 Open project: sylius/sylius

Public Methods

Method Description
__construct ( Sylius\Component\Product\Resolver\ProductVariantResolverInterface $variantResolver )
getSubscribedEvents ( )
preSetData ( Symfony\Component\Form\FormEvent $event )

Method Details

__construct() public method

public __construct ( Sylius\Component\Product\Resolver\ProductVariantResolverInterface $variantResolver )
$variantResolver Sylius\Component\Product\Resolver\ProductVariantResolverInterface

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

preSetData() public method

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