1 | <?php |
||
19 | class ZendFrameworkDispatcher implements DispatcherInterface |
||
20 | { |
||
21 | /** |
||
22 | * The event manager used to dispatch events. |
||
23 | * |
||
24 | * @var EventManager |
||
25 | */ |
||
26 | private $eventManager; |
||
27 | |||
28 | /** |
||
29 | * Initializes a new instance of this class. |
||
30 | * |
||
31 | * @param EventManager $eventManager |
||
32 | */ |
||
33 | 2 | public function __construct(EventManager $eventManager) |
|
37 | |||
38 | /** |
||
39 | * Gets the event manager. |
||
40 | * |
||
41 | * @return EventManager |
||
42 | */ |
||
43 | 1 | public function getEventManager() |
|
47 | |||
48 | /** |
||
49 | * {@inheritDoc} |
||
50 | * |
||
51 | * @param string $event The name of the Event which should be dispatched |
||
52 | * @param array $options The options that should get passed to the callback |
||
53 | */ |
||
54 | 1 | public function dispatch($event, $options) |
|
58 | } |
||
59 |