Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Mailer] Consume a PSR-14 event dispatcher#42662
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
bc51e39 to4f17de0Compareab42271 toaa21e5dComparederrabus commentedAug 20, 2021
By the way, should the |
fabpot commentedAug 20, 2021
You're right, it should be final. Same for the Notifier equivalent class. |
fabpot commentedAug 20, 2021
Tests are broken. |
4c991ec tobd3f9fbCompareSigned-off-by: Alexander M. Turek <me@derrabus.de>
bd3f9fb toe3c85b2Comparechalasr commentedAug 20, 2021
Thank you@derrabus. |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
This PR was merged into the 6.0 branch.Discussion----------[Mailer] Restore Transport signatures| Q | A| ------------- | ---| Branch? | 6.0| Bug fix? | no| New feature? | no| Deprecations? | no| Tickets | Follow-up to#42662| License | MIT| Doc PR | N/ACommits-------0d589b9 [Mailer] Restore Transport signatures
Uh oh!
There was an error while loading.Please reload this page.
This PR proposes to swap our own
EventDispatcherInterfacefor the PSR-14 one in mailer. This would allow for a deeper integration of the mailer component into non-Symfony applications that use a different event dispatcher, likehttps://github.com/thephpleague/event.Note that we still need Symfony's event dispatcher as a dependency, mainly because of
EventSubscriberInterface.