We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In version 2 there were these methods to remove listeners:
$emitter->removeListener($event, $listener); $emitter->removeAllListeners($event);
How to do it in version 3?
Here we mention the matter, but always with reference to version 2.
It seems that other similar libraries have these methods:
https://github.com/symfony/event-dispatcher/blob/6.2/EventDispatcher.php#L132 https://github.com/laminas/laminas-eventmanager/blob/3.10.x/src/EventManager.php#L202 https://github.com/laminas/laminas-eventmanager/blob/3.10.x/src/EventManager.php#L250
Thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In version 2 there were these methods to remove listeners:
How to do it in version 3?
Here we mention the matter, but always with reference to version 2.
It seems that other similar libraries have these methods:
https://github.com/symfony/event-dispatcher/blob/6.2/EventDispatcher.php#L132
https://github.com/laminas/laminas-eventmanager/blob/3.10.x/src/EventManager.php#L202
https://github.com/laminas/laminas-eventmanager/blob/3.10.x/src/EventManager.php#L250
Thanks!
The text was updated successfully, but these errors were encountered: