Question du test Symfony 6

Facile

Etendre la classe Symfony\Bundle\FrameworkBundle\Controller\AbstractController; permet à mon controller d'être déclaré en tant que service

Auteur: smaine milianniStatut : PubliéeQuestion passée 1113 fois
Modifier
5
Évaluations de la communauté
developer avatar
Marwa
03/03/2024
To aid development, Symfony comes with an optional base controller class called AbstractController. It can be extended to gain access to helper methods. That's it! You now have access to methods like $this->render() and many others that you'll learn about next.