Replies: 3 comments 1 reply
-
Also When you use explisit binding to ensure execution order like:
|
Beta Was this translation helpful? Give feedback.
-
To give you more work on migrating it @edalzell |
Beta Was this translation helpful? Give feedback.
-
This is fairly easy to recreate laravel 10's event service provider in laravel just by doing it like this :) @edalzell @zawilliams just add this to app service provider.
To stop duplicate just make sure you are not type hinting the listener with the event class. so it would just be ($event) rather than (EventClass $event) |
Beta Was this translation helpful? Give feedback.
-
I just upgraded an L10 site to L11 via Laravel Shift and my event registration broke because I had previously had multiple listeners on an event.
Any one know why that feature was removed in L11?
I'd PR a "fix" but I suspect it would be closed, so I'd love to understand why that was done.
Beta Was this translation helpful? Give feedback.
All reactions