Skip to content

Commit 0817e68

Browse files
committed
minor #21100 [DependencyInjection] Remove references to TaggedIterator and TaggedLocator attributes (GromNaN)
This PR was squashed before being merged into the 8.0 branch. Discussion ---------- [DependencyInjection] Remove references to `TaggedIterator` and `TaggedLocator` attributes Fix #21098 Also remove unused `use` use statement for `TaggedIteratorArgument` (may be backported?) Commits ------- 7eafb73 [DependencyInjection] Remove references to `TaggedIterator` and `TaggedLocator` attributes
2 parents dd52ee6 + 7eafb73 commit 0817e68

File tree

3 files changed

+0
-19
lines changed

3 files changed

+0
-19
lines changed

reference/attributes.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,10 @@ Dependency Injection
3939
* :ref:`AutowireServiceClosure <autowiring_closures>`
4040
* :ref:`Exclude <service-psr4-loader>`
4141
* :ref:`Lazy <lazy-services_configuration>`
42-
* :ref:`TaggedIterator <tags_reference-tagged-services>`
43-
* :ref:`TaggedLocator <service-subscribers-locators_defining-service-locator>`
4442
* :ref:`Target <autowiring-multiple-implementations-same-type>`
4543
* :ref:`When <service-container_limiting-to-env>`
4644
* :ref:`WhenNot <service-container_limiting-to-env>`
4745

48-
.. deprecated:: 7.1
49-
50-
The :class:`Symfony\\Component\\DependencyInjection\\Attribute\\TaggedIterator`
51-
and :class:`Symfony\\Component\\DependencyInjection\\Attribute\\TaggedLocator`
52-
attributes were deprecated in Symfony 7.1.
5346

5447
EventDispatcher
5548
~~~~~~~~~~~~~~~

service_container/service_subscribers_locators.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -302,14 +302,6 @@ This is done by having ``getSubscribedServices()`` return an array of
302302
];
303303
}
304304

305-
.. deprecated:: 7.1
306-
307-
The :class:`Symfony\\Component\\DependencyInjection\\Attribute\\TaggedIterator`
308-
and :class:`Symfony\\Component\\DependencyInjection\\Attribute\\TaggedLocator`
309-
attributes were deprecated in Symfony 7.1 in favor of
310-
:class:`Symfony\\Component\\DependencyInjection\\Attribute\\AutowireIterator`
311-
and :class:`Symfony\\Component\\DependencyInjection\\Attribute\\AutowireLocator`.
312-
313305
.. note::
314306

315307
The above example requires using ``3.2`` version or newer of ``symfony/service-contracts``.

service_container/tags.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,8 +1047,6 @@ you can define it in the configuration of the collecting service:
10471047
// config/services.php
10481048
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
10491049
1050-
use Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument;
1051-
10521050
return function (ContainerConfigurator $container): void {
10531051
$services = $container->services();
10541052
@@ -1138,7 +1136,6 @@ to index the services:
11381136
11391137
use App\Handler\One;
11401138
use App\Handler\Two;
1141-
use Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument;
11421139
11431140
return function (ContainerConfigurator $container): void {
11441141
$services = $container->services();
@@ -1242,7 +1239,6 @@ get the value used to index the services:
12421239
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
12431240
12441241
use App\HandlerCollection;
1245-
use Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument;
12461242
12471243
return function (ContainerConfigurator $container) {
12481244
$services = $container->services();

0 commit comments

Comments
 (0)
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