Symfony\Component\Form\FormEvent
- Author: Bernhard Schussek <bschussek@gmail.com>
Synopsis
class FormEvent
extends Event
{
- // methods
- public void __construct()
- public FormInterface getForm()
- public mixed getData()
- public void setData()
- // Inherited methods from Event
- public Boolean isPropagationStopped()
- public void stopPropagation()
- public void setDispatcher()
- public EventDispatcherInterface getDispatcher()
- public string getName()
- public void setName()
Hierarchy
Members
private
- $form
protected
- $data
Methods
public
- __construct() — Constructs an event.
- getData() — Returns the data associated with this event.
- getForm() — Returns the form at the source of the event.
- setData() — Allows updating with some filtered data.
Inherited from Symfony\Component\EventDispatcher\Event
public
- getDispatcher() — Returns the EventDispatcher that dispatches this Event
- getName() — Gets the event's name.
- isPropagationStopped() — Returns whether further event listeners should be triggered.
- setDispatcher() — Stores the EventDispatcher that dispatches this Event
- setName() — Sets the event's name property.
- stopPropagation() — Stops the propagation of the event to further event listeners.