EventDispatcherInterface::getListenerPriority()

int|null getListenerPriority(string $eventName, callable $listener)

Gets the listener priority for a specific event.

Returns null if the event or the listener does not exist.

Parameters

string $eventName The name of the event
callable $listener The listener

Return Value

int|null The event listener priority
doc_Symfony
2016-10-28 06:15:32
Comments
Leave a Comment

Please login to continue.