- Status changed to Needs review
almost 2 years ago 8:47am 19 January 2023 - 🇬🇧United Kingdom adamps
Great thanks. I have updated the MR with two changes:
- For performance,
Mailer
should create the Transport object once during the constructor, not once per mail sent. - I discovered that in Drupal the
service_collector
tag corresponds totagged_iterator
in Symfony. Use this instead of creating a compiler pass.
Please can you review and check it works in your system?
- For performance,
- 🇫🇷France damien laguerre
Great!
2. I discovered that in Drupal the service_collector tag corresponds to tagged_iterator in Symfony. Use this instead of creating a compiler pass.
I first tried this way, but it could not be used with all the Symfony services I defined the first time.
Now it's really the best solution.I did some tests and everything works fine!
-
AdamPS →
committed 076607a3 on 1.x authored by
Damien Laguerre →
Issue #3332398 by Damien Laguerre: Allow custom TransportFactory
-
AdamPS →
committed 076607a3 on 1.x authored by
Damien Laguerre →
- Status changed to Fixed
almost 2 years ago 8:44am 25 January 2023 Automatically closed - issue fixed for 2 weeks with no activity.