Skip to content

Commit eb93d26

Browse files
committed
Fixed the YAML example in the scope cookboob article
The argument was missing the strict=false attribute to be consistent with the XML and PHP examples, and it is needed when using a synchronized service from a narrower scope.
1 parent 12afd89 commit eb93d26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/service_container/scopes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ your code. This should also be taken into account when declaring your service:
149149
greeting_card_manager:
150150
class: Acme\HelloBundle\Mail\GreetingCardManager
151151
calls:
152-
- [setRequest, ['@?request']]
152+
- [setRequest, ['@?request=']]
153153
154154
.. code-block:: xml
155155

0 commit comments

Comments
 (0)