-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Messenger] Extract Dsn object #32566
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it work properly in the DI container ?
src/Symfony/Component/Messenger/Transport/AmqpExt/Connection.php
Outdated
Show resolved
Hide resolved
I don't see any problems here. We can use factory method BTW, thanx for review. |
2bfdeaa
to
c25295d
Compare
I hope that there is small change to merge this PR. BC-breaks was documented, old tests fixed, new added. Please, review. // cc @nicolas-grekas @fabpot @sroze |
I'm closing now because this would be a BC break and I'm not sure this is worth it. That's an internal refacto that has a significant side effect on the public API, but has no practical side effect on the feature side. Thanks for giving it a try. |
During implementing transport factories for Mailer component I decided to extract
Dsn
object in Messenger component also instead of string + array of options.