Skip to content

Commit 47e01ad

Browse files
Fix of old service ids styles to class name
1 parent 334384d commit 47e01ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

service_container/service_decoration.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ When overriding an existing definition, the original service is lost:
5151
Most of the time, that's exactly what you want to do. But sometimes,
5252
you might want to decorate the old one instead (i.e. apply the `Decorator pattern`_).
5353
In this case, the old service should be kept around to be able to reference
54-
it in the new one. This configuration replaces ``app.mailer`` with a new one,
55-
but keeps a reference of the old one as ``app.decorating_mailer.inner``:
54+
it in the new one. This configuration replaces ``App\Mailer`` with a new one,
55+
but keeps a reference of the old one as ``App\DecoratingMailer.inner``:
5656

5757
.. configuration-block::
5858

0 commit comments

Comments
 (0)