You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When registering an EventListener / Subscriber in SF 4.3 dev for a custom event, the actual event that is passed to the function is of instance WrappedEvent, which seems to be an internal class.
The actual event dispatched can be gotten from the WrappedEvent class, but since it is marked as internal and will be removed in SF 5, I don't think this class should be dispatched.
How to reproduce
Create an EventListener / EventSubscriber for a custom event, dispatch it and see what happens.
The text was updated successfully, but these errors were encountered:
Symfony version(s) affected: 4.3.x
Description
When registering an EventListener / Subscriber in SF 4.3 dev for a custom event, the actual event that is passed to the function is of instance WrappedEvent, which seems to be an internal class.
The actual event dispatched can be gotten from the WrappedEvent class, but since it is marked as internal and will be removed in SF 5, I don't think this class should be dispatched.
How to reproduce
Create an EventListener / EventSubscriber for a custom event, dispatch it and see what happens.
The text was updated successfully, but these errors were encountered: