Skip to content

Commit

Permalink
minor #3499 Fix YAML syntax highlight + remove trailing whitespace (i…
Browse files Browse the repository at this point in the history
…fdattic)

This PR was merged into the 2.4 branch.

Discussion
----------

Fix YAML syntax highlight + remove trailing whitespace

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.4
| Fixed tickets |

Commits
-------

0723078 Fix YAML syntax highlight + remove trailing whitespace
  • Loading branch information
weaverryan committed Jan 22, 2014
2 parents 4bb11ea + 0723078 commit b9bbe5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cookbook/service_container/scopes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b9bbe5d

Please sign in to comment.