Removes an event listener for the given event name.
public removeEventListener ( string $eventName, callable $listener ) : static | ||
$eventName | string | The event name. |
$listener | callable | The callback to remove. |
return | static | The current instance. |