@@ -270,8 +270,8 @@ the following dependency injection attributes in the ``getSubscribedServices()``
270
270
method directly:
271
271
272
272
* :class: `Symfony\\ Component\\ DependencyInjection\\ Attribute\\ Autowire `
273
- * :class: `Symfony\\ Component\\ DependencyInjection\\ Attribute\\ TaggedIterator `
274
- * :class: `Symfony\\ Component\\ DependencyInjection\\ Attribute\\ TaggedLocator `
273
+ * :class: `Symfony\\ Component\\ DependencyInjection\\ Attribute\\ AutowireIterator `
274
+ * :class: `Symfony\\ Component\\ DependencyInjection\\ Attribute\\ AutowireLocator `
275
275
* :class: `Symfony\\ Component\\ DependencyInjection\\ Attribute\\ Target `
276
276
* :class: `Symfony\\ Component\\ DependencyInjection\\ Attribute\\ AutowireDecorated `
277
277
@@ -282,8 +282,8 @@ This is done by having ``getSubscribedServices()`` return an array of
282
282
use Psr\Container\ContainerInterface;
283
283
use Psr\Log\LoggerInterface;
284
284
use Symfony\Component\DependencyInjection\Attribute\Autowire;
285
- use Symfony\Component\DependencyInjection\Attribute\TaggedIterator ;
286
- use Symfony\Component\DependencyInjection\Attribute\TaggedLocator ;
285
+ use Symfony\Component\DependencyInjection\Attribute\AutowireIterator ;
286
+ use Symfony\Component\DependencyInjection\Attribute\TAutowireLocator ;
287
287
use Symfony\Component\DependencyInjection\Attribute\Target;
288
288
use Symfony\Contracts\Service\Attribute\SubscribedService;
289
289
@@ -299,11 +299,11 @@ This is done by having ``getSubscribedServices()`` return an array of
299
299
// Target
300
300
new SubscribedService('event.logger', LoggerInterface::class, attributes: new Target('eventLogger')),
301
301
302
- // TaggedIterator
303
- new SubscribedService('loggers', 'iterable', attributes: new TaggedIterator ('logger.tag')),
302
+ // AutowireIterator
303
+ new SubscribedService('loggers', 'iterable', attributes: new AutowireIterator ('logger.tag')),
304
304
305
- // TaggedLocator
306
- new SubscribedService('handlers', ContainerInterface::class, attributes: new TaggedLocator ('handler.tag')),
305
+ // AutowireLocator
306
+ new SubscribedService('handlers', ContainerInterface::class, attributes: new AutowireLocator ('handler.tag')),
307
307
];
308
308
}
309
309
@@ -975,8 +975,8 @@ You can use the ``attributes`` argument of ``SubscribedService`` to add any
975
975
of the following dependency injection attributes:
976
976
977
977
* :class: `Symfony\\ Component\\ DependencyInjection\\ Attribute\\ Autowire `
978
- * :class: `Symfony\\ Component\\ DependencyInjection\\ Attribute\\ TaggedIterator `
979
- * :class: `Symfony\\ Component\\ DependencyInjection\\ Attribute\\ TaggedLocator `
978
+ * :class: `Symfony\\ Component\\ DependencyInjection\\ Attribute\\ AutowireIterator `
979
+ * :class: `Symfony\\ Component\\ DependencyInjection\\ Attribute\\ AutowireLocator `
980
980
* :class: `Symfony\\ Component\\ DependencyInjection\\ Attribute\\ Target `
981
981
* :class: `Symfony\\ Component\\ DependencyInjection\\ Attribute\\ AutowireDecorated `
982
982
0 commit comments