LogoLogo
Docs officielsTutos officiels
version-4.1
version-4.1
  • Symfony
  • Introduction
  • Eco-Système de Symfony
  • Architecture de Symfony
  • Première page avec Symfony
  • Controller et Routes
  • Vues - TWIG
  • Modèles - Entités - ORM
  • Relations entre entités
  • Formulaires
  • console
  • Sécurité
  • Services et Injection de dépendances
  • Les Bundles
  • Mise en production
  • TP (LP-DEV, novices)
  • TP (LP-DEV, moins novices)
  • FAQ
Propulsé par GitBook
Sur cette page

Cet article vous a-t-il été utile ?

Exporter en PDF

console

Generating Controllers To save time, you can install Symfony Maker and tell Symfony to generate a new controller class:

php bin/console make:controller BrandNewController

created: src/Controller/BrandNewController.php If you want to generate an entire CRUD from a Doctrine entity, use:

php bin/console make:crud Product

PrécédentFormulairesSuivantSécurité

Dernière mise à jour il y a 5 ans

Cet article vous a-t-il été utile ?