Skip to content

Commit 0f3fe25

Browse files
committed
Added namespace declaration to MainController.php.
1 parent 30c327a commit 0f3fe25

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

book/http_fundamentals.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,8 @@ the ``AcmeDemoBundle:Main:contact`` string is a short syntax that points to a
459459
specific PHP method ``contactAction`` inside a class called ``MainController``::
460460

461461
// src/Acme/DemoBundle/Controller/MainController.php
462+
namespace Acme\DemoBundle\Controller;
463+
462464
use Symfony\Component\HttpFoundation\Response;
463465

464466
class MainController

0 commit comments

Comments
 (0)