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.
1 parent c9b6ae9 commit 9c8f3cbCopy full SHA for 9c8f3cb
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