From 18d71b14ed95bdbd7fd5e0284b02aeaaf1d3dc88 Mon Sep 17 00:00:00 2001 From: Piotr Antosik Date: Tue, 5 Aug 2014 22:30:42 +0200 Subject: [PATCH] fix php template --- book/http_cache.rst | 2 +- book/templating.rst | 2 +- cookbook/templating/PHP.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/book/http_cache.rst b/book/http_cache.rst index 1f0dbf45dc1..53943266ac7 100644 --- a/book/http_cache.rst +++ b/book/http_cache.rst @@ -915,7 +915,7 @@ matter), Symfony2 uses the standard ``render`` helper to configure ESI tags: .. code-block:: html+php render( - new ControllerReference('...:news', array('max' => 5)), + new \Symfony\Component\HttpKernel\Controller\ControllerReference('...:news', array('max' => 5)), array('strategy' => 'esi')) ?> diff --git a/book/templating.rst b/book/templating.rst index fa274079893..babfe94881b 100644 --- a/book/templating.rst +++ b/book/templating.rst @@ -658,7 +658,7 @@ string syntax for controllers (i.e. **bundle**:**controller**:**action**):