Skip to content

Commit

Permalink
bug #3863 Error in XML (tvlooy)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.3 branch.

Discussion
----------

Error in XML

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

Commits
-------

fb179c0 Update scopes.rst
  • Loading branch information
weaverryan committed May 29, 2014
2 parents bffe163 + fb179c0 commit 9b7584f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cookbook/service_container/scopes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,10 @@ Changing the scope of a service should be done in its definition:
<!-- src/Acme/HelloBundle/Resources/config/services.xml -->
<services>
<service id="greeting_card_manager"
class="Acme\HelloBundle\Mail\GreetingCardManager"
scope="request"
/>
<argument type="service" id="request" />
class="Acme\HelloBundle\Mail\GreetingCardManager"
scope="request">
<argument type="service" id="request" />
</service>
</services>
.. code-block:: php
Expand Down

0 comments on commit 9b7584f

Please sign in to comment.