diff --git a/service_container/service_subscribers_locators.rst b/service_container/service_subscribers_locators.rst index 89d47104900..a0316738d8e 100644 --- a/service_container/service_subscribers_locators.rst +++ b/service_container/service_subscribers_locators.rst @@ -494,7 +494,7 @@ of the ``key`` tag attribute (as defined in the ``index_by`` locator option): tags: - { name: 'app.handler', key: 'handler_two' } - App\HandlerCollection: + App\Handler\HandlerCollection: # inject all services tagged with app.handler as first argument arguments: [!tagged_locator { tag: 'app.handler', index_by: 'key' }]