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 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy