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

Author: Łukasz Chruściel ([email protected])
Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Afficher le fichier Open project: sylius/sylius

Méthodes publiques

Méthode Description
__construct ( string $entryType )
getSubscribedEvents ( ) : array
preSetData ( Symfony\Component\Form\FormEvent $event )
preSubmit ( Symfony\Component\Form\FormEvent $event )

Private Methods

Méthode Description
isUserDataEmpty ( array $data ) : boolean
removeUserField ( Symfony\Component\Form\FormEvent $event )

Method Details

__construct() public méthode

public __construct ( string $entryType )
$entryType string

getSubscribedEvents() public static méthode

public static getSubscribedEvents ( ) : array
Résultat array

preSetData() public méthode

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

preSubmit() public méthode

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