EventDispatcher

Extends \Zend\EventManager\EventManager Implements \Psr\EventDispatcher\EventDispatcherInterface

Class EventDispatcher

package

Ascmvc\EventSourcing

Methods

EventDispatcher constructor.

__construct(\Ascmvc\AbstractApp $application, \Zend\EventManager\SharedEventManagerInterface|null $sharedEventManager = null, array $identifiers = array()) 

Arguments

$application

\Ascmvc\AbstractApp

$sharedEventManager

\Zend\EventManager\SharedEventManagerInterface|null

$identifiers

array

Dispatches the event.

dispatch(object $event) 

Arguments

$event

object

Properties

The instance of the application.

application : \Ascmvc\AbstractApp
var

Type(s)

\Ascmvc\AbstractApp