Skip to content

Fix of old service ids styles to class name #10957

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 4, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions service_container/service_decoration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::

Expand Down