addListener(string $eventName, callable $listener, int $priority)
Adds an event listener that listens on the specified events.
addListener(string $eventName, callable $listener, int $priority)
Adds an event listener that listens on the specified events.
string | $eventName | The event to listen on |
callable | $listener | The listener |
int | $priority | The higher this value, the earlier an event listener will be triggered in the chain (defaults to 0) |
Designed by : w10schools
service@w10schools.com
Please login to continue.