Class Swift_Events_SimpleEventDispatcher
The EventDispatcher which handles the event dispatching layer.
- Swift_Events_SimpleEventDispatcher implements Swift_Events_EventDispatcher
Package: Swift\Events
Author: Chris Corbyn
Located at classes/swiftmailer/lib/classes/Swift/Events/SimpleEventDispatcher.php
Author: Chris Corbyn
Located at classes/swiftmailer/lib/classes/Swift/Events/SimpleEventDispatcher.php
public
|
|
public
|
#
createSendEvent(
Create a new SendEvent for $source and $message. |
public
|
#
createCommandEvent(
Create a new CommandEvent for $source and $command. |
public
|
#
createResponseEvent(
Create a new ResponseEvent for $source and $response. |
public
|
#
createTransportChangeEvent(
Create a new TransportChangeEvent for $source. |
public
|
#
createTransportExceptionEvent(
Create a new TransportExceptionEvent for $source. |
public
|
#
bindEventListener(
Bind an event listener to this dispatcher. |
public
|
#
dispatchEvent(
Dispatch the given Event to all suitable listeners. |
private
|
#
_prepareBubbleQueue(
Queue listeners on a stack ready for $evt to be bubbled up it |
private
|
#
_bubble(
Bubble $evt up the stack calling $target() on each listener |
private
array
|
$_eventMap
A map of event types to their associated listener types |
#
array()
|
private
array
|
$_listeners
Event listeners bound to this dispatcher |
#
array()
|
private
array
|
$_bubbleQueue
Listeners queued to have an Event bubbled up the stack to them |
#
array()
|