diff --git a/book/http_fundamentals.rst b/book/http_fundamentals.rst index 61760b5e41e..97fc86467ad 100644 --- a/book/http_fundamentals.rst +++ b/book/http_fundamentals.rst @@ -449,7 +449,7 @@ by adding an entry for ``/contact`` to your routing configuration file: .. note:: - This example uses :doc:`YAML` to define the routing + This example uses :doc:`YAML` to define the routing configuration. Routing configuration can also be written in other formats such as XML or PHP. @@ -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
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: