... use App\Entity\Individu; ... class IndividuRepository extends ServiceEntityRepository { public function __construct(ManagerRegistry $registry) { parent::__construct($registry, Individu::class); } // MODIFIER AUSSI TOUTES LES ANNOTATIONS ET LES TYPES INDIQUÉS // COMME PARAMÈTRES OU VALEURS DE RETOUR DES FONCTIONS. }