Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit0723078

Browse files
committed
Fix YAML syntax highlight + remove trailing whitespace
1 parentd52f3f8 commit0723078

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎cookbook/service_container/scopes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ scope other than ``container`` and ``prototype``. But for the purposes of
4545
this entry, imagine there is another scope ``client`` and a service ``client_configuration``
4646
that belongs to it. This is not a common situation, but the idea is that
4747
you may enter and exit multiple ``client`` scopes during a request, and each
48-
has its own ``client_configuration`` service.
48+
has its own ``client_configuration`` service.
4949

5050
Scopes add a constraint on the dependencies of a service: a service cannot
5151
depend on services from a narrower scope. For example, if you create a generic
@@ -274,7 +274,7 @@ argument is the ``ClientConfiguration`` object:
274274
my_mailer:
275275
class:Acme\HelloBundle\Mail\Mailer
276276
scope:client
277-
arguments:[@client_configuration]
277+
arguments:["@client_configuration"]
278278
279279
..code-block::xml
280280

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp