1 | <?php |
||
10 | class Dispatcher implements EventDispatcherInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var \Illuminate\Contracts\Events\Dispatcher |
||
14 | */ |
||
15 | protected $dispatcher; |
||
16 | |||
17 | /** |
||
18 | * @var array |
||
19 | */ |
||
20 | protected $events = []; |
||
21 | |||
22 | /** |
||
23 | * @param \Illuminate\Contracts\Events\Dispatcher $dispatcher |
||
24 | */ |
||
25 | public function __construct(DispatcherContract $dispatcher) |
||
29 | |||
30 | /** |
||
31 | * {@inheritDoc} |
||
32 | */ |
||
33 | public function dispatch($eventName, Event $event = null) |
||
43 | |||
44 | /** |
||
45 | * {@inheritDoc} |
||
46 | */ |
||
47 | public function addListener($eventName, $listener, $priority = 0) |
||
53 | |||
54 | /** |
||
55 | * {@inheritDoc} |
||
56 | */ |
||
57 | public function addSubscriber(EventSubscriberInterface $subscriber) |
||
71 | |||
72 | /** |
||
73 | * {@inheritDoc} |
||
74 | */ |
||
75 | public function removeListener($eventName, $listener) |
||
87 | |||
88 | /** |
||
89 | * {@inheritDoc} |
||
90 | */ |
||
91 | public function removeSubscriber(EventSubscriberInterface $subscriber) |
||
103 | |||
104 | /** |
||
105 | * {@inheritDoc} |
||
106 | */ |
||
107 | public function getListeners($eventName = null) |
||
121 | |||
122 | /** |
||
123 | * {@inheritDoc} |
||
124 | */ |
||
125 | public function getListenerPriority($eventName, $listener) |
||
129 | |||
130 | /** |
||
131 | * {@inheritDoc} |
||
132 | */ |
||
133 | public function hasListeners($eventName = null) |
||
137 | } |
||
138 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.