From 47e01adab0250bcee20f2e3391eb8a6e751c7121 Mon Sep 17 00:00:00 2001 From: Claudio Zizza Date: Fri, 1 Feb 2019 21:54:48 +0100 Subject: [PATCH] Fix of old service ids styles to class name --- service_container/service_decoration.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service_container/service_decoration.rst b/service_container/service_decoration.rst index 02985a576a8..38954b5e3df 100644 --- a/service_container/service_decoration.rst +++ b/service_container/service_decoration.rst @@ -51,8 +51,8 @@ When overriding an existing definition, the original service is lost: Most of the time, that's exactly what you want to do. But sometimes, you might want to decorate the old one instead (i.e. apply the `Decorator pattern`_). In this case, the old service should be kept around to be able to reference -it in the new one. This configuration replaces ``app.mailer`` with a new one, -but keeps a reference of the old one as ``app.decorating_mailer.inner``: +it in the new one. This configuration replaces ``App\Mailer`` with a new one, +but keeps a reference of the old one as ``App\DecoratingMailer.inner``: .. configuration-block::