From a5370dcfad38c92cae6b27448ec765ac664e4d4e Mon Sep 17 00:00:00 2001 From: Alexander O'Neill Date: Sun, 16 Jun 2013 14:33:06 -0700 Subject: [PATCH] Added namespace declaration to MainController.php. --- book/http_fundamentals.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/book/http_fundamentals.rst b/book/http_fundamentals.rst index 16520777863..e4feb9e69b4 100644 --- a/book/http_fundamentals.rst +++ b/book/http_fundamentals.rst @@ -459,6 +459,8 @@ the ``AcmeDemoBundle:Main:contact`` string is a short syntax that points to a specific PHP method ``contactAction`` inside a class called ``MainController``:: // src/Acme/DemoBundle/Controller/MainController.php + namespace Acme\DemoBundle\Controller; + use Symfony\Component\HttpFoundation\Response; class MainController