diff --git a/service_container/service_subscribers_locators.rst b/service_container/service_subscribers_locators.rst index a0316738d8e..72971213618 100644 --- a/service_container/service_subscribers_locators.rst +++ b/service_container/service_subscribers_locators.rst @@ -256,9 +256,10 @@ argument of type ``service_locator``: # config/services.yaml services: App\CommandBus: - arguments: !service_locator - App\FooCommand: '@app.command_handler.foo' - App\BarCommand: '@app.command_handler.bar' + arguments: + - !service_locator + App\FooCommand: '@app.command_handler.foo' + App\BarCommand: '@app.command_handler.bar' .. code-block:: xml pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy