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 169b305 commit 0b7f033Copy full SHA for 0b7f033
service_container.rst
@@ -122,10 +122,11 @@ inside your controller::
122
123
// src/Controller/ProductController.php
124
use App\Service\MessageGenerator;
125
+ use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
126
use Symfony\Component\HttpFoundation\Response;
127
use Symfony\Component\Routing\Annotation\Route;
128
- class ProductController
129
+ class ProductController extends AbstractController
130
{
131
/**
132
* @Route("/products/new")
0 commit comments