Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
srv
/
data
/
web
/
vhosts
/
www.humitest.fr
/
htdocs
/
src
/
Controller
/
front
/
/srv/data/web/vhosts/www.humitest.fr/htdocs/src/Controller/front/GammeController.php
<?php namespace App\Controller\front; use App\Entity\Page; use App\Entity\Contact; use App\Services\Mailer; use App\Entity\Propertie; use App\Form\ContactType; use App\Entity\Recruitment; use App\Form\RecruitmentType; use App\Repository\SliderRepository; use App\Repository\ProductRepository; use App\Repository\GammeRepository; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Annotation\Route; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; class GammeController extends AbstractController { /** * @Route("/navbar_gamme", name="home") */ public function index(GammeRepository $gammepository) { return $this->render('front/blocks/navbar_gamme.html.twig', [ 'gammes' => [$gammepository->find(6), $gammepository->find(2)], // 'slug' => 'product_gamme' ]); } }