Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7eafb73

Browse files
GromNaNjaviereguiluz
authored andcommitted
[DependencyInjection] Remove references to TaggedIterator and TaggedLocator attributes
1 parent 985abbb commit 7eafb73

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
@@ -307,14 +307,6 @@ This is done by having ``getSubscribedServices()`` return an array of
307307
];
308308
}
309309

310-
.. deprecated:: 7.1
311-
312-
The :class:`Symfony\\Component\\DependencyInjection\\Attribute\\TaggedIterator`
313-
and :class:`Symfony\\Component\\DependencyInjection\\Attribute\\TaggedLocator`
314-
attributes were deprecated in Symfony 7.1 in favor of
315-
:class:`Symfony\\Component\\DependencyInjection\\Attribute\\AutowireIterator`
316-
and :class:`Symfony\\Component\\DependencyInjection\\Attribute\\AutowireLocator`.
317-
318310
.. note::
319311

320312
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)