public function TraceableEventDispatcher::getListeners in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php \Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::getListeners()
Gets the listeners of a specific event or all listeners sorted by descending priority.
Parameters
string $eventName The name of the event:
Return value
array The event listeners for the specified event, or all event listeners by event name
Overrides EventDispatcherInterface::getListeners
1 call to TraceableEventDispatcher::getListeners()
- TraceableEventDispatcher::getNotCalledListeners in vendor/
symfony/ event-dispatcher/ Debug/ TraceableEventDispatcher.php - Gets the not called listeners.
File
- vendor/
symfony/ event-dispatcher/ Debug/ TraceableEventDispatcher.php, line 97
Class
- TraceableEventDispatcher
- Collects some data about event listeners.
Namespace
Symfony\Component\EventDispatcher\DebugCode
public function getListeners($eventName = null) {
return $this->dispatcher
->getListeners($eventName);
}