Autowires an iterator of services based on a tag name.
- deprecated since Symfony 7.1, use {@see \AutowireIterator} instead.
- attribute Attribute ( 32)
CloneableInstantiable
- Extends
- Attributes
Attribute ( 32)
| Properties |
| public ?string $defaultIndexMethod |
| public ?string $defaultPriorityMethod |
| public array|string $exclude |
| public bool $excludeSelf |
| public ?string $indexAttribute |
| public string $tag |
| Methods |
public __construct(string $tag, ?string $indexAttribute = NULL, ?string $defaultIndexMethod = NULL, ?string $defaultPriorityMethod = NULL, array|string $exclude = [], bool $excludeSelf = true)
|