File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ Just add a second method to ``LuckyController``::
104104 // src/AppBundle/Controller/LuckyController.php
105105 // ...
106106
107- class LuckyController
107+ class LuckyController extends Controller
108108 {
109109 // ...
110110
@@ -137,7 +137,7 @@ You can even shorten this with the handy :class:`Symfony\\Component\\HttpFoundat
137137 // --> don't forget this new use statement
138138 use Symfony\Component\HttpFoundation\JsonResponse;
139139
140- class LuckyController
140+ class LuckyController extends Controller
141141 {
142142 // ...
143143
@@ -170,7 +170,7 @@ at the end:
170170 // src/AppBundle/Controller/LuckyController.php
171171 // ...
172172
173- class LuckyController
173+ class LuckyController extends Controller
174174 {
175175 /**
176176 * @Route("/lucky/number/{count}")
@@ -224,7 +224,7 @@ The best part is that you can access this value and use it in your controller::
224224 // src/AppBundle/Controller/LuckyController.php
225225 // ...
226226
227- class LuckyController
227+ class LuckyController extends Controller
228228 {
229229
230230 /**
You can’t perform that action at this time.
0 commit comments