1 | <?php |
||
16 | class EventDispatcherFactory { |
||
17 | |||
18 | /** |
||
19 | * @var EventDispatcherFactory |
||
20 | */ |
||
21 | private static $instance = null; |
||
22 | |||
23 | /** |
||
24 | * @since 1.0 |
||
25 | * |
||
26 | * @return EventDispatcherFactory |
||
27 | */ |
||
28 | 1 | public static function getInstance() { |
|
36 | |||
37 | /** |
||
38 | * @since 1.0 |
||
39 | */ |
||
40 | 1 | public static function clear() { |
|
43 | |||
44 | /** |
||
45 | * @since 1.0 |
||
46 | * |
||
47 | * @return GenericEventDispatcher |
||
48 | */ |
||
49 | 4 | public function newGenericEventDispatcher() { |
|
52 | |||
53 | /** |
||
54 | * @since 1.0 |
||
55 | * |
||
56 | * @return DispatchContext |
||
57 | */ |
||
58 | 1 | public function newDispatchContext() { |
|
61 | |||
62 | /** |
||
63 | * @since 1.0 |
||
64 | * |
||
65 | * @return NullEventListener |
||
66 | */ |
||
67 | 1 | public function newNullEventListener() { |
|
70 | |||
71 | /** |
||
72 | * @since 1.0 |
||
73 | * |
||
74 | * @return GenericCallbackEventListener |
||
75 | */ |
||
76 | 1 | public function newGenericCallbackEventListener() { |
|
79 | |||
80 | /** |
||
81 | * @since 1.0 |
||
82 | * |
||
83 | * @return GenericEventListenerCollection |
||
84 | */ |
||
85 | 3 | public function newGenericEventListenerCollection() { |
|
88 | |||
89 | } |
||
90 |