From 42fe2b6f95edca5da490476b4b284e640d06484e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Nadaud?= Date: Thu, 20 Aug 2015 13:18:13 +0200 Subject: [PATCH] Update page_creation.rst | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.7 | Fixed tickets | --- book/page_creation.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/book/page_creation.rst b/book/page_creation.rst index 9e649356024..e317c75deff 100644 --- a/book/page_creation.rst +++ b/book/page_creation.rst @@ -104,7 +104,7 @@ Just add a second method to ``LuckyController``:: // src/AppBundle/Controller/LuckyController.php // ... - class LuckyController + class LuckyController extends Controller { // ... @@ -137,7 +137,7 @@ You can even shorten this with the handy :class:`Symfony\\Component\\HttpFoundat // --> don't forget this new use statement use Symfony\Component\HttpFoundation\JsonResponse; - class LuckyController + class LuckyController extends Controller { // ... @@ -170,7 +170,7 @@ at the end: // src/AppBundle/Controller/LuckyController.php // ... - class LuckyController + class LuckyController extends Controller { /** * @Route("/lucky/number/{count}") @@ -224,7 +224,7 @@ The best part is that you can access this value and use it in your controller:: // src/AppBundle/Controller/LuckyController.php // ... - class LuckyController + class LuckyController extends Controller { /**