We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentd52f3f8 commit0723078Copy full SHA for 0723078
cookbook/service_container/scopes.rst
@@ -45,7 +45,7 @@ scope other than ``container`` and ``prototype``. But for the purposes of
45
this entry, imagine there is another scope ``client`` and a service ``client_configuration``
46
that belongs to it. This is not a common situation, but the idea is that
47
you may enter and exit multiple ``client`` scopes during a request, and each
48
-has its own ``client_configuration`` service.
+has its own ``client_configuration`` service.
49
50
Scopes add a constraint on the dependencies of a service: a service cannot
51
depend on services from a narrower scope. For example, if you create a generic
@@ -274,7 +274,7 @@ argument is the ``ClientConfiguration`` object:
274
my_mailer:
275
class:Acme\HelloBundle\Mail\Mailer
276
scope:client
277
-arguments:[@client_configuration]
+arguments:["@client_configuration"]
278
279
..code-block::xml
280