Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 88575f0

Browse files
bug #32442 Adding missing event_dispatcher wiring for messenger.middleware.send_message (weaverryan)
This PR was merged into the 4.3 branch. Discussion ---------- Adding missing event_dispatcher wiring for messenger.middleware.send_message | Q | A | ------------- | --- | Branch? | 4.3 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #32375 | License | MIT | Doc PR | not needed This was probably my bad when I added this hook point (it's not used anywhere in the core). Also reported on Slack :). Cheers! Commits ------- 90d1b05 Adding missing event_dispatcher wiring for messenger.middleware.send_message
2 parents dcd0a64 + 90d1b05 commit 88575f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/Resources/config/messenger.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<service id="messenger.middleware.send_message" class="Symfony\Component\Messenger\Middleware\SendMessageMiddleware">
1616
<tag name="monolog.logger" channel="messenger" />
1717
<argument type="service" id="messenger.senders_locator" />
18+
<argument type="service" id="event_dispatcher" />
1819
<call method="setLogger">
1920
<argument type="service" id="logger" on-invalid="ignore" />
2021
</call>

0 commit comments

Comments
 (0)