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 ef0934d commit e16d286Copy full SHA for e16d286
routing.rst
@@ -176,7 +176,9 @@ Use the ``methods`` option to restrict the verbs each route should respond to:
176
// src/Controller/BlogApiController.php
177
namespace App\Controller;
178
179
- // ...
+ use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
180
+ use Symfony\Component\HttpFoundation\Response;
181
+ use Symfony\Component\Routing\Annotation\Route;
182
183
class BlogApiController extends AbstractController
184
{
0 commit comments