EventDispatcher::getListeners()

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
doc_Symfony
2016-10-28 06:15:28
Comments
Leave a Comment

Please login to continue.