src/Controller/PartenairesSanteController.php line 13
<?phpnamespace App\Controller;use App\Repository\PartenaireSanteRepository;use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;use Symfony\Component\HttpFoundation\Response;use Symfony\Component\Routing\Annotation\Route;class PartenairesSanteController extends AbstractController{#[Route('/partenaires/sante', name: 'app_partenaires_sante', methods: ['GET'])]public function index(PartenaireSanteRepository $repo): Response{return $this->render('partenaires/index.html.twig', ['partenaires_by_type' => $repo->findActivesGroupedByType(),]);}}