Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9b7584f

Browse filesBrowse files
committed
bug #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
Copy full SHA for 9b7584f

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed

‎cookbook/service_container/scopes.rst

Copy file name to clipboardExpand all lines: cookbook/service_container/scopes.rst
+4-4Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.