event-dispatcher icon indicating copy to clipboard operation
event-dispatcher copied to clipboard

Make EventDispatcher more extensible.

Open rbroen opened this issue 3 years ago • 1 comments

By removing the check if $listeners has any listeners, we could reliably extend the protected callListeners(). This would open the door for implementing the PSR-14 Psr\EventDispatcher\ListenerProviderInterface.

rbroen avatar Feb 07 '22 10:02 rbroen

Thanks for your pull request! We love contributions.

However, this repository is what we call a "subtree split": a read-only copy of one directory of the main Symfony repository. It is used by Composer to allow developers to depend on specific Symfony components.

If you want to contribute, you should instead open a pull request on the main repository:

https://github.com/symfony/symfony

Thank you for your contribution!

PS: if you haven't already, please add tests, and beware that bug fixes should be submitted on the lowest maintained branch where they apply.

symfony-bot[bot] avatar Feb 07 '22 10:02 symfony-bot[bot]