Skip to content

[DependencyInjection] Remove TaggedIterator and TaggedLocator attributes #21104

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 8.0
Choose a base branch
from

Conversation

javiereguiluz
Copy link
Member

Fixes #21098.

In service_container/tags.rst there are some occurrences of a similar but different class:

use Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument;

It's needed because i's used by the tagged_iterator() method (which is not deprecated).

@GromNaN
Copy link
Member

GromNaN commented Jun 20, 2025

In service_container/tags.rst there are some occurrences of a similar but different class:

use Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument;

It's needed because it's used by the tagged_iterator() method (which is not deprecated).

I think it's fine to remove it as the class is not actually used in the code example.

It seems you haven't seen my PR: #21100.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants