-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[EventDispatcher] Allow to omit the event name when registering listene… #12451
New issue
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
Comments
I'll write the documentation probably tomorrow. |
Thank you for this issue. |
I completely forgot about this one. 🙈 |
Thank you for this issue. |
Could I get a reply or should I close this? |
Still relevant, I suppose. |
This was introduce in 4.4, I think is now a good practice to use FQCN instead declare https://symfony.com/doc/current/components/event_dispatcher.html https://symfony.com/doc/current/event_dispatcher.html Are you ok if I do theses changes ? I will add a note below symfony-docs/event_dispatcher.rst Lines 127 to 135 in db74d6d
|
…stering listeners (alamirault) This PR was squashed before being merged into the 5.4 branch. Discussion ---------- [EventDispatcher] Allow to omit the event name when registering listeners Try complete #12451 I think best practice today is to not define `event` manually `@derrabus`, I will appreciate your review 🙏 Commits ------- 62f5165 [EventDispatcher] Allow to omit the event name when registering listeners
Fixed in #17685. |
The text was updated successfully, but these errors were encountered: