We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62e87d1 commit 776f7e8Copy full SHA for 776f7e8
service_container/service_decoration.rst
@@ -128,7 +128,9 @@ but keeps a reference of the old one as ``.inner``:
128
The ``#[AsDecorator]`` attribute was introduced in Symfony 6.1.
129
130
The ``decorates`` option tells the container that the ``App\DecoratingMailer``
131
-service replaces the ``App\Mailer`` service. If you're using the
+service replaces the ``App\Mailer`` service.
132
+:ref:`Service tags<How to Work with Service Tags> are moved as well.
133
+If you're using the
134
:ref:`default services.yaml configuration <service-container-services-load-example>`,
135
the decorated service is automatically injected when the constructor of the
136
decorating service has one argument type-hinted with the decorated service class.
0 commit comments