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