We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1401405 + 37b4d00 commit d68db9dCopy full SHA for d68db9d
routing.rst
@@ -172,7 +172,9 @@ Use the ``methods`` option to restrict the verbs each route should respond to:
172
// src/Controller/BlogApiController.php
173
namespace App\Controller;
174
175
- // ...
+ use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
176
+ use Symfony\Component\HttpFoundation\Response;
177
+ use Symfony\Component\Routing\Annotation\Route;
178
179
class BlogApiController extends AbstractController
180
{
0 commit comments