PHP Class WellCommerce\Component\Form\Event\FormEvent

Author: Adam Piotrowski ([email protected])
Inheritance: extends Symfony\Component\EventDispatcher\Event
Afficher le fichier Open project: wellcommerce/wellcommerce Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( WellCommerce\Component\Form\FormBuilderInterface $formBuilder, WellCommerce\Component\Form\Elements\FormInterface $form, WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $entity = null ) FormEvent constructor.
getEntity ( ) : null | object
getForm ( ) : WellCommerce\Component\Form\Elements\FormInterface
getFormBuilder ( ) : WellCommerce\Component\Form\FormBuilderInterface

Method Details

__construct() public méthode

FormEvent constructor.
public __construct ( WellCommerce\Component\Form\FormBuilderInterface $formBuilder, WellCommerce\Component\Form\Elements\FormInterface $form, WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $entity = null )
$formBuilder WellCommerce\Component\Form\FormBuilderInterface
$form WellCommerce\Component\Form\Elements\FormInterface
$entity WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface

getEntity() public méthode

public getEntity ( ) : null | object
Résultat null | object

getForm() public méthode

public getForm ( ) : WellCommerce\Component\Form\Elements\FormInterface
Résultat WellCommerce\Component\Form\Elements\FormInterface

getFormBuilder() public méthode

public getFormBuilder ( ) : WellCommerce\Component\Form\FormBuilderInterface
Résultat WellCommerce\Component\Form\FormBuilderInterface