diff --git a/service_container/tags.rst b/service_container/tags.rst index 79d8cc85755..db0501182bc 100644 --- a/service_container/tags.rst +++ b/service_container/tags.rst @@ -679,7 +679,7 @@ in the configuration of the collecting service: https://symfony.com/schema/dic/services/services-1.0.xsd"> - + @@ -708,7 +708,7 @@ Tagged Services with Index If you want to retrieve a specific service within the injected collection you can use the ``index_by`` and ``default_index_method`` options of the -argument in combination with ``!tagged``. +argument in combination with ``!tagged_iterator``. Using the previous example, this service configuration creates a collection indexed by the ``key`` attribute: 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