Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5e0dccd

Browse filesBrowse files
committed
minor #10957 Fix of old service ids styles to class name (SenseException)
This PR was merged into the 3.4 branch. Discussion ---------- Fix of old service ids styles to class name The docs for the service decoration used the old service ids while the FQCN ones are shown in the code examples. This PR fixed these. Commits ------- 47e01ad Fix of old service ids styles to class name
2 parents 7bd5608 + 47e01ad commit 5e0dccd
Copy full SHA for 5e0dccd

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎service_container/service_decoration.rst

Copy file name to clipboardExpand all lines: service_container/service_decoration.rst
+2-2Lines changed: 2 additions & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.