@@ -50,8 +50,8 @@ serialized::
50
50
51
51
.. _messenger-handler :
52
52
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
55
55
type-hinted with the message class (or a message interface)::
56
56
57
57
// src/MessageHandler/SmsNotificationHandler.php
@@ -911,7 +911,7 @@ stream_max_entries The maximum number of entries which ``0`` (which means "n
911
911
In Memory Transport
912
912
~~~~~~~~~~~~~~~~~~~
913
913
914
- The ``in-memory `` transport does not actually delivery messages. Instead, it
914
+ The ``in-memory `` transport does not actually deliver messages. Instead, it
915
915
holds them in memory during the request, which can be useful for testing.
916
916
For example, if you have an ``async_priority_normal `` transport, you could
917
917
override it in the ``test `` environment to use this transport:
@@ -1262,7 +1262,7 @@ Middleware
1262
1262
~~~~~~~~~~
1263
1263
1264
1264
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
1266
1266
for each bus looks like this:
1267
1267
1268
1268
#. ``add_bus_name_stamp_middleware `` - adds a stamp to record which bus this
0 commit comments