Class GenericEvent
Event encapsulation class.
Encapsulates events thus decoupling the observer from the subject they encapsulate.
- Symfony\Component\EventDispatcher\Event
- Symfony\Component\EventDispatcher\GenericEvent implements ArrayAccess, IteratorAggregate
Namespace: Symfony\Component\EventDispatcher
Author: Drak <drak@zikula.org>
Located at event-dispatcher/Symfony/Component/EventDispatcher/GenericEvent.php
Author: Drak <drak@zikula.org>
Located at event-dispatcher/Symfony/Component/EventDispatcher/GenericEvent.php
public
|
#
__construct( mixed $subject = null, array $arguments = array() )
Encapsulate an event with $subject and $args. |
public
mixed
|
|
public
mixed
|
|
public
|
|
public
array
|
|
public
|
|
public
boolean
|
|
public
mixed
|
|
public
|
|
public
|
|
public
boolean
|
|
public
|
getDispatcher(),
getName(),
isPropagationStopped(),
setDispatcher(),
setName(),
stopPropagation()
|
protected
mixed
|
$subject |
|
#
Observer pattern subject. |
protected
array
|
$arguments |
|
#
Array of arguments. |