From eb93d2652c43b25600b57198f4fefbba26cc2122 Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Wed, 19 Jun 2013 15:50:00 +0300 Subject: [PATCH] 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. --- cookbook/service_container/scopes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/service_container/scopes.rst b/cookbook/service_container/scopes.rst index e779bc933b9..5227ab4a478 100644 --- a/cookbook/service_container/scopes.rst +++ b/cookbook/service_container/scopes.rst @@ -149,7 +149,7 @@ your code. This should also be taken into account when declaring your service: greeting_card_manager: class: Acme\HelloBundle\Mail\GreetingCardManager calls: - - [setRequest, ['@?request']] + - [setRequest, ['@?request=']] .. code-block:: xml