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