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 17ea01c commit 440c1e3Copy full SHA for 440c1e3
service_container.rst
@@ -126,9 +126,7 @@ inside your controller::
126
127
class ProductController extends AbstractController
128
{
129
- /**
130
- * @Route("/products/new")
131
- */
+ #[Route('/products/new')]
132
public function new(MessageGenerator $messageGenerator): Response
133
134
// thanks to the type-hint, the container will instantiate a
0 commit comments