src/Controller/EntrepriseController.php line 52

Open in your IDE?
  1. <?php
  2. // src/Controller/EntrepriseController.php
  3. namespace App\Controller;
  4. use Symfony\Component\HttpFoundation\Response;
  5. use Symfony\Component\Routing\Annotation\Route;
  6. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  7. /**
  8.  * @Route("/")
  9.  */
  10. class EntrepriseController extends AbstractController
  11. {    
  12.     /**
  13.      * @Route("/", name="home_first")
  14.      */
  15.     public function homeFirstAction()
  16.     {
  17.         $domain '';
  18.         return $this->render('entreprise/accueil.html.twig', [
  19.             'domain' => $domain
  20.         ]);
  21.     }
  22.     
  23.     /**
  24.      * @Route("/{_locale}", name="home")
  25.      */
  26.     public function homeAction()
  27.     {
  28.         $domain '';
  29.         return $this->render('entreprise/accueil.html.twig', [
  30.             'domain' => $domain
  31.         ]);
  32.     }
  33.     
  34.     /**
  35.      * @Route("/{_locale}/hosting-plan", name="hosting_plan")
  36.      */
  37.     public function hostingPlanAction()
  38.     {
  39.         
  40.           return $this->render('entreprise/hosting_plan.html.twig', [
  41.             
  42.         ]);
  43.     }
  44.     
  45.     
  46.     /**
  47.      * @Route("/{_locale}/contact", name="contact")
  48.      */
  49.     public function contactAction()
  50.     {
  51.         
  52.           return $this->render('entreprise/contact.html.twig', [
  53.             
  54.         ]);
  55.     }
  56. }