Skip to content

Commit 1adbe37

Browse files
committed
[#10689] some minor tweaks
1 parent 72f23a4 commit 1adbe37

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

messenger/multiple_buses.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,12 @@ binding capabilities to clarify which bus will be injected based on the argument
150150
$container->bind('$queryBus', 'messenger.bus.queries');
151151
$container->bind('$eventBus', 'messenger.bus.events');
152152
153-
Restrict handlers per bus
153+
Restrict Handlers per Bus
154154
-------------------------
155155

156156
By default, each handler will be available to handle messages on *all*
157157
of your buses. To prevent dispatching a message to the wrong bus without an error,
158-
you can restrict each handler to a specific bus using the `messenger.message_handler` tag:
158+
you can restrict each handler to a specific bus using the ``messenger.message_handler`` tag:
159159

160160
.. configuration-block::
161161

@@ -251,7 +251,7 @@ the correct tag:
251251
->load('App\MessageHandler\\', '%kernel.project_dir%/src/MessageHandler/*QueryHandler.php')
252252
->tag('messenger.message_handler', ['bus' => 'messenger.bus.queries']);
253253
254-
Debugging the buses
254+
Debugging the Buses
255255
-------------------
256256

257257
The ``debug:messenger`` command lists available messages & handlers per bus.

0 commit comments

Comments
 (0)