10000 [Messenger] Update the messenger documentation by sroze · Pull Request #9727 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[Messenger] Update the messenger documentation #9727

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

Merged
merged 11 commits into from
May 9, 2018
Prev Previous commit
Next Next commit
Fix the formating of the method name
  • Loading branch information
sroze authored and weaverryan committed May 9, 2018
commit e1f3b5af19a962c0a19e21439c4ffb9ef76bc074
6 changes: 3 additions & 3 deletions messenger.rst
8000
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Registering Handlers
--------------------

In order to do something when your message is dispatched, you need to create a
message handler. It's a class with an `__invoke` method::
message handler. It's a class with an ``__invoke`` method::

// src/MessageHandler/MyMessageHandler.php
namespace App\MessageHandler;
Expand Down Expand Up @@ -232,7 +232,7 @@ for each bus looks like this:
1. ``logging`` middleware. Responsible of logging the beginning and the end of the
message within the bus.

2. _Your own collection of middleware__
2. _Your own collection of middleware_

3. ``route_messages`` middleware. Will route the messages your configured to their
corresponding sender and stop the middleware chain.
Expand Down Expand Up @@ -355,4 +355,4 @@ will give you access to the following services:
#. ``messenger.sender.yours``: the sender.
#. ``messenger.receiver.yours``: the receiver.

.. _`enqueue's transport`: https://github.com/sroze/enqueue-bridge
.. _`enqueue's transport`: https://github.com/enqueue/messenger-adapter
0