From 8f24431abb29db9eaaf26d384c807568db914fd7 Mon Sep 17 00:00:00 2001 From: Maxime Veber Date: Mon, 25 May 2020 19:43:26 +0200 Subject: [PATCH] Add a note about allow_no_handlers option This option was not documented at this state. --- messenger/multiple_buses.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/messenger/multiple_buses.rst b/messenger/multiple_buses.rst index 240e9cdc6cc..91ab80879d9 100644 --- a/messenger/multiple_buses.rst +++ b/messenger/multiple_buses.rst @@ -105,6 +105,11 @@ This will create three new services: * ``event.bus``: autowireable with ``MessageBusInterface $eventBus``. +.. note:: + + The ``allow_no_handlers`` option allows ``event.bus`` to have no handler configured + and as a result, it will not end up with error if you define no handler for this bus. + Restrict Handlers per Bus -------------------------