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 1cd54be commit f014beaCopy full SHA for f014bea
service_container/service_decoration.rst
@@ -126,6 +126,10 @@ but keeps a reference of the old one as ``.inner``:
126
->decorate(Mailer::class);
127
};
128
129
+.. versionadded:: 6.1
130
+
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
135
:ref:`default services.yaml configuration <service-container-services-load-example>`,
0 commit comments