diff --git a/service_container/service_subscribers_locators.rst b/service_container/service_subscribers_locators.rst index babb7849fa8..30dbace8e30 100644 --- a/service_container/service_subscribers_locators.rst +++ b/service_container/service_subscribers_locators.rst @@ -417,13 +417,6 @@ other services. To do so, create a new service definition using the # add the following tag to the service definition: # tags: ['container.service_locator'] - # if the element has no key, the ID of the original service is used - app.another_command_handler_locator: - class: Symfony\Component\DependencyInjection\ServiceLocator - arguments: - - - - '@app.command_handler.baz' - .. code-block:: xml @@ -438,8 +431,6 @@ other services. To do so, create a new service definition using the - -