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
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions reference/attributes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,10 @@ Dependency Injection
* :ref:`AutowireServiceClosure <autowiring_closures>`
* :ref:`Exclude <service-psr4-loader>`
* :ref:`Lazy <lazy-services_configuration>`
* :ref:`TaggedIterator <tags_reference-tagged-services>`
* :ref:`TaggedLocator <service-subscribers-locators_defining-service-locator>`
* :ref:`Target <autowiring-multiple-implementations-same-type>`
* :ref:`When <service-container_limiting-to-env>`
* :ref:`WhenNot <service-container_limiting-to-env>`

.. deprecated:: 7.1

The :class:`Symfony\\Component\\DependencyInjection\\Attribute\\TaggedIterator`
and :class:`Symfony\\Component\\DependencyInjection\\Attribute\\TaggedLocator`
attributes were deprecated in Symfony 7.1.

EventDispatcher
~~~~~~~~~~~~~~~

Expand Down
8 changes: 0 additions & 8 deletions service_container/service_subscribers_locators.rst
Original file line number Diff line number Diff line change
Expand Up @@ -302,14 +302,6 @@ This is done by having ``getSubscribedServices()`` return an array of
];
}

.. deprecated:: 7.1

The :class:`Symfony\\Component\\DependencyInjection\\Attribute\\TaggedIterator`
and :class:`Symfony\\Component\\DependencyInjection\\Attribute\\TaggedLocator`
attributes were deprecated in Symfony 7.1 in favor of
:class:`Symfony\\Component\\DependencyInjection\\Attribute\\AutowireIterator`
and :class:`Symfony\\Component\\DependencyInjection\\Attribute\\AutowireLocator`.

.. note::

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