We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fd1777 commit 4a020abCopy full SHA for 4a020ab
messenger.rst
@@ -451,9 +451,9 @@ that you can inject in your services.
451
452
.. note::
453
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.
+ To register a handler only for a specific bus, add a ``bus`` attribute to
+ the handler's service tag (``messenger.message_handler``) and use the bus
+ name as its value.
457
458
Type-hints and Auto-wiring
459
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 commit comments