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
-------

90d1b059fd Adding missing event_dispatcher wiring for messenger.middleware.send_message
This commit is contained in:
Nicolas Grekas 2019-07-15 15:35:23 +02:00
commit 88575f01b7

View File

@ -15,6 +15,7 @@
<service id="messenger.middleware.send_message" class="Symfony\Component\Messenger\Middleware\SendMessageMiddleware">
<tag name="monolog.logger" channel="messenger" />
<argument type="service" id="messenger.senders_locator" />
<argument type="service" id="event_dispatcher" />
<call method="setLogger">
<argument type="service" id="logger" on-invalid="ignore" />
</call>