array
getListeners(string $eventName = null)
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