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 908f3d5 commit c381307Copy full SHA for c381307
service_container.rst
@@ -33,6 +33,7 @@ service's class or interface name. Want to :doc:`log </logging>` something? No p
33
34
use Psr\Log\LoggerInterface;
35
use Symfony\Component\HttpFoundation\Response;
36
+ use Symfony\Component\Routing\Annotation\Route;
37
38
class ProductController
39
{
@@ -122,6 +123,7 @@ inside your controller::
122
123
// src/Controller/ProductController.php
124
use App\Service\MessageGenerator;
125
126
127
128
/**
129
* @Route("/products/new")
0 commit comments