Skip to content

Commit 53e8e61

Browse files
committed
feature #32912 [Mailer] Add support for the profiler (fabpot)
This PR was merged into the 4.4 branch. Discussion ---------- [Mailer] Add support for the profiler | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | yes | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | closes #31592 | License | MIT | Doc PR | n/a Web profiler for the Mailer. Commits ------- f152314e28 [Mailer] added support for the profiler
2 parents c808944 + bdf27a4 commit 53e8e61

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Resources/config/mailer_debug.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,10 @@
88
<service id="mailer.logger_message_listener" class="Symfony\Component\Mailer\EventListener\MessageLoggerListener">
99
<tag name="kernel.event_subscriber"/>
1010
</service>
11+
12+
<service id="mailer.data_collector" class="Symfony\Component\Mailer\DataCollector\MessageDataCollector">
13+
<argument type="service" id="mailer.logger_message_listener" />
14+
<tag name="data_collector" template="@WebProfiler/Collector/mailer.html.twig" id="mailer" />
15+
</service>
1116
</services>
1217
</container>

0 commit comments

Comments
 (0)