Skip to content

Commit 9b7584f

Browse files
committed
bug symfony#3863 Error in XML (tvlooy)
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
2 parents bffe163 + fb179c0 commit 9b7584f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cookbook/service_container/scopes.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,10 +237,10 @@ Changing the scope of a service should be done in its definition:
237237
<!-- src/Acme/HelloBundle/Resources/config/services.xml -->
238238
<services>
239239
<service id="greeting_card_manager"
240-
class="Acme\HelloBundle\Mail\GreetingCardManager"
241-
scope="request"
242-
/>
243-
<argument type="service" id="request" />
240+
class="Acme\HelloBundle\Mail\GreetingCardManager"
241+
scope="request">
242+
<argument type="service" id="request" />
243+
</service>
244244
</services>
245245
246246
.. code-block:: php

0 commit comments

Comments
 (0)