In version 2 there were these methods to remove listeners: ```php $emitter->removeListener($event, $listener); $emitter->removeAllListeners($event); ``` How to do it in version 3? [Here](https://github.com/thephpleague/event/issues/38) 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!
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!