Skip to content

Commit 2493c90

Browse files
committed
Update typos and missing reference
1 parent 31a56ee commit 2493c90

File tree

2 files changed

+10
-13
lines changed

2 files changed

+10
-13
lines changed

components/messenger.rst

+4-9
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ Concepts
3838
Bus
3939
---
4040

41-
The bus is used to dispatch messages. MessageBus' behavior is in its ordered
41+
The bus is used to dispatch messages. MessageBus' behaviour is in its ordered
4242
middleware stack. When using the message bus with Symfony's FrameworkBundle, the
4343
following middlewares are configured for you:
4444

45-
#. ``LoggingMiddleware`` (logs the processing of your messages)
46-
#. ``SendMessageMiddleware`` (enables asynchronous processing)
47-
#. ``HandleMessageMiddleware`` (calls the registered handle)
45+
#. :code:`LoggingMiddleware` (logs the processing of your messages)
46+
#. :code:`SendMessageMiddleware` (enables asynchronous processing)
47+
#. :code:`HandleMessageMiddleware` (calls the registered handle)
4848

4949
Example::
5050

@@ -176,11 +176,6 @@ First, create your receiver::
176176
}
177177
}
178178

179-
Your adapter factory
180-
~~~~~~~~~~~~~~~~~~~~
181-
182-
TODO.
183-
184179
Same bus received and sender
185180
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
186181

messenger.rst

+6-4
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Adapters
7373
--------
7474

7575
The communication with queuing system or third parties is delegated to
76-
libraries for now. The `built-in AMQP adapter`_ allows you to communicate with
76+
libraries for now. The built-in AMQP adapter allows you to communicate with
7777
most of the AMQP brokers such as RabbitMQ.
7878

7979
.. note::
@@ -167,14 +167,16 @@ like this:
167167
$ bin/console messenger:consume-messages messenger.default_receiver
168168
169169
The first argument is the receiver's service name. It might have been created by
170-
your :code:`adapaters` configuration or it can be your own receiver.
170+
your :code:`adapters` configuration or it can be your own receiver.
171171

172172
Your own Adapters
173173
-----------------
174174

175175
Learn how to build your own adapters within the Component's documentation. Once
176-
you have built your classes, you can register your adapater to be able to use
177-
it via a DSN in the Symfony application.
176+
you have built your classes, you can register your adapter factory to be able to
177+
use it via a DSN in the Symfony application.
178+
179+
178180

179181
Register your factory
180182
~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)