Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions service_container.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1070,12 +1070,12 @@ key. For example, the default Symfony configuration contains this:

The value of the ``resource`` and ``exclude`` options can be any valid
`glob pattern`_. If you want to exclude only a few services, you
may use the :class:`Symfony\\Component\\Dependency\Injection\\Attribute\\Exclude`
may use the :class:`Symfony\\Component\\DependencyInjection\\Attribute\\Exclude`
attribute directly on your class to exclude it.

.. versionadded:: 6.3

The :class:`Symfony\\Component\\Dependency\Injection\\Attribute\\Exclude`
The :class:`Symfony\\Component\\DependencyInjection\\Attribute\\Exclude`
attribute was introduced in Symfony 6.3.

This can be used to quickly make many classes available as services and apply some
Expand Down