1 | <?php |
||
8 | class NullListenerAggregate implements ListenerAggregateInterface |
||
9 | { |
||
10 | /** |
||
11 | * Attach one or more listeners |
||
12 | * |
||
13 | * Implementors may add an optional $priority argument; the EventManager |
||
14 | * implementation will pass this to the aggregate. |
||
15 | * |
||
16 | * @param EventManagerInterface $events |
||
17 | * |
||
18 | * @return void |
||
19 | */ |
||
20 | 1 | public function attach(EventManagerInterface $events) |
|
24 | |||
25 | /** |
||
26 | * Detach all previously attached listeners |
||
27 | * |
||
28 | * @param EventManagerInterface $events |
||
29 | * |
||
30 | * @return void |
||
31 | */ |
||
32 | 1 | public function detach(EventManagerInterface $events) |
|
36 | } |
||
37 |