addListener(string $eventName, callable $listener, int $priority)
Adds an event listener that listens on the specified events.
Parameters 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)