TraceableEventDispatcher::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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.