8000 Minor reword · symfony/symfony-docs@4a020ab · GitHub
[go: up one dir, main page]

Skip to content

Commit 4a020ab

Browse files
committed
Minor reword
1 parent 4fd1777 commit 4a020ab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

messenger.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -451,9 +451,9 @@ that you can inject in your services.
451451

452452
.. note::
453453

454-
To register a handler for only a specific bus, add a ``bus`` attribute having the
455-
name of this bus as value to the ``messenger.message_handler`` tag in the handler's
456-
service definition.
454+
To register a handler only for a specific bus, add a ``bus`` attribute to
455+
the handler's service tag (``messenger.message_handler``) and use the bus
456+
name as its value.
457457

458458
Type-hints and Auto-wiring
459459
~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)
0