From 7eafb73e297544e060e33ae6beeb7bb14dbdffac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Tamarelle?= Date: Fri, 20 Jun 2025 13:02:37 +0200 Subject: [PATCH] [DependencyInjection] Remove references to `TaggedIterator` and `TaggedLocator` attributes --- reference/attributes.rst | 7 ------- service_container/service_subscribers_locators.rst | 8 -------- service_container/tags.rst | 4 ---- 3 files changed, 19 deletions(-) diff --git a/reference/attributes.rst b/reference/attributes.rst index eb09f4aa6bc..96f07bbc383 100644 --- a/reference/attributes.rst +++ b/reference/attributes.rst @@ -39,17 +39,10 @@ Dependency Injection * :ref:`AutowireServiceClosure ` * :ref:`Exclude ` * :ref:`Lazy ` -* :ref:`TaggedIterator ` -* :ref:`TaggedLocator ` * :ref:`Target ` * :ref:`When ` * :ref:`WhenNot ` -.. deprecated:: 7.1 - - The :class:`Symfony\\Component\\DependencyInjection\\Attribute\\TaggedIterator` - and :class:`Symfony\\Component\\DependencyInjection\\Attribute\\TaggedLocator` - attributes were deprecated in Symfony 7.1. EventDispatcher ~~~~~~~~~~~~~~~ diff --git a/service_container/service_subscribers_locators.rst b/service_container/service_subscribers_locators.rst index 9026478cf33..00fed5e3ff4 100644 --- a/service_container/service_subscribers_locators.rst +++ b/service_container/service_subscribers_locators.rst @@ -307,14 +307,6 @@ This is done by having ``getSubscribedServices()`` return an array of ]; } -.. deprecated:: 7.1 - - The :class:`Symfony\\Component\\DependencyInjection\\Attribute\\TaggedIterator` - and :class:`Symfony\\Component\\DependencyInjection\\Attribute\\TaggedLocator` - attributes were deprecated in Symfony 7.1 in favor of - :class:`Symfony\\Component\\DependencyInjection\\Attribute\\AutowireIterator` - and :class:`Symfony\\Component\\DependencyInjection\\Attribute\\AutowireLocator`. - .. note:: The above example requires using ``3.2`` version or newer of ``symfony/service-contracts``. diff --git a/service_container/tags.rst b/service_container/tags.rst index 3a547042de7..adc42bb40f9 100644 --- a/service_container/tags.rst +++ b/service_container/tags.rst @@ -1047,8 +1047,6 @@ you can define it in the configuration of the collecting service: // config/services.php namespace Symfony\Component\DependencyInjection\Loader\Configurator; - use Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; - return function (ContainerConfigurator $container): void { $services = $container->services(); @@ -1138,7 +1136,6 @@ to index the services: use App\Handler\One; use App\Handler\Two; - use Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; return function (ContainerConfigurator $container): void { $services = $container->services(); @@ -1242,7 +1239,6 @@ get the value used to index the services: namespace Symfony\Component\DependencyInjection\Loader\Configurator; use App\HandlerCollection; - use Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; return function (ContainerConfigurator $container) { $services = $container->services(); 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