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``::
104
104
// src/AppBundle/Controller/LuckyController.php
105
105
// ...
106
106
107
- class LuckyController
107
+ class LuckyController extends Controller
108
108
{
109
109
// ...
110
110
@@ -137,7 +137,7 @@ You can even shorten this with the handy :class:`Symfony\\Component\\HttpFoundat
137
137
// --> don't forget this new use statement
138
138
use Symfony\Component\HttpFoundation\JsonResponse;
139
139
140
- class LuckyController
140
+ class LuckyController extends Controller
141
141
{
142
142
// ...
143
143
@@ -170,7 +170,7 @@ at the end:
170
170
// src/AppBundle/Controller/LuckyController.php
171
171
// ...
172
172
173
- class LuckyController
173
+ class LuckyController extends Controller
174
174
{
175
175
/**
176
176
* @Route("/lucky/number/{count}")
@@ -224,7 +224,7 @@ The best part is that you can access this value and use it in your controller::
224
224
// src/AppBundle/Controller/LuckyController.php
225
225
// ...
226
226
227
- class LuckyController
227
+ class LuckyController extends Controller
228
228
{
229
229
230
230
/**
You can’t perform that action at this time.
0 commit comments