Skip to content

Commit adc4e0a

Browse files
authored
Add a note about allow_no_handlers option
This option was not documented at this state.
1 parent 2817341 commit adc4e0a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

messenger/multiple_buses.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,11 @@ This will create three new services:
105105

106106
* ``event.bus``: autowireable with ``MessageBusInterface $eventBus``.
107107

108+
.. note::
109+
110+
The ``allow_no_handlers`` option allows ``event.bus`` to have no and as a result,
111+
it will not fail if you defines no handler for this bus.
112+
108113
Restrict Handlers per Bus
109114
-------------------------
110115

0 commit comments

Comments
 (0)