Skip to content

Commit 2458f83

Browse files
committed
Merge pull request symfony#2798 from uwej711/fix_service_definition
fix xml service definition
2 parents fa5d25f + 76896ed commit 2458f83

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

cookbook/service_container/scopes.rst

+5-4
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,11 @@ your code. This should also be taken into account when declaring your service:
157157
<services>
158158
<service id="greeting_card_manager"
159159
class="Acme\HelloBundle\Mail\GreetingCardManager"
160-
/>
161-
<call method="setRequest">
162-
<argument type="service" id="request" on-invalid="null" strict="false" />
163-
</call>
160+
>
161+
<call method="setRequest">
162+
<argument type="service" id="request" on-invalid="null" strict="false" />
163+
</call>
164+
</service>
164165
</services>
165166
166167
.. code-block:: php

0 commit comments

Comments
 (0)