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

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

Public Methods

Method Description
__construct ( string $entryType )
getSubscribedEvents ( ) : array
preSetData ( Symfony\Component\Form\FormEvent $event )
submit ( Symfony\Component\Form\FormEvent $event )

Method Details

__construct() public method

public __construct ( string $entryType )
$entryType string

getSubscribedEvents() public static method

public static getSubscribedEvents ( ) : array
return array

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