From 0723078dcb42f7f71c4653f42c94af135709cacc Mon Sep 17 00:00:00 2001 From: Andrew M Date: Tue, 21 Jan 2014 22:22:25 +0200 Subject: [PATCH] Fix YAML syntax highlight + remove trailing whitespace --- cookbook/service_container/scopes.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbook/service_container/scopes.rst b/cookbook/service_container/scopes.rst index 59d4cd425a4..48e1da77f80 100644 --- a/cookbook/service_container/scopes.rst +++ b/cookbook/service_container/scopes.rst @@ -45,7 +45,7 @@ scope other than ``container`` and ``prototype``. But for the purposes of this entry, imagine there is another scope ``client`` and a service ``client_configuration`` that belongs to it. This is not a common situation, but the idea is that you may enter and exit multiple ``client`` scopes during a request, and each -has its own ``client_configuration`` service. +has its own ``client_configuration`` service. Scopes add a constraint on the dependencies of a service: a service cannot depend on services from a narrower scope. For example, if you create a generic @@ -274,7 +274,7 @@ argument is the ``ClientConfiguration`` object: my_mailer: class: Acme\HelloBundle\Mail\Mailer scope: client - arguments: [@client_configuration] + arguments: ["@client_configuration"] .. code-block:: xml