Skip to content

Commit 8896621

Browse files
Update messenger.rst
1 parent 12cb663 commit 8896621

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

messenger.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ serialized::
5050

5151
.. _messenger-handler:
5252

53-
A message handler is a PHP callable, the easiest way to create it is to create a class that implements
54-
``MessageHandlerInterface`` and has an ``__invoke()`` method that's
53+
A message handler is a PHP callable, the recommanded way to create it is to create a class that
54+
implements ``MessageHandlerInterface`` and has an ``__invoke()`` method that's
5555
type-hinted with the message class (or a message interface)::
5656

5757
// src/MessageHandler/SmsNotificationHandler.php
@@ -911,7 +911,7 @@ stream_max_entries The maximum number of entries which ``0`` (which means "n
911911
In Memory Transport
912912
~~~~~~~~~~~~~~~~~~~
913913

914-
The ``in-memory`` transport does not actually delivery messages. Instead, it
914+
The ``in-memory`` transport does not actually deliver messages. Instead, it
915915
holds them in memory during the request, which can be useful for testing.
916916
For example, if you have an ``async_priority_normal`` transport, you could
917917
override it in the ``test`` environment to use this transport:
@@ -1262,7 +1262,7 @@ Middleware
12621262
~~~~~~~~~~
12631263

12641264
What happens when you dispatch a message to a message bus depends on its
1265-
collection of middleware (and their order). By default, the middleware configured
1265+
collection of middleware and their order. By default, the middleware configured
12661266
for each bus looks like this:
12671267

12681268
#. ``add_bus_name_stamp_middleware`` - adds a stamp to record which bus this

0 commit comments

Comments
 (0)