src/Controller/HelpController.php line 25

  1. <?php
  2. namespace App\Controller;
  3. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  4. use Symfony\Component\HttpFoundation\Response;
  5. use Symfony\Component\Routing\Annotation\Route;
  6. class HelpController extends AbstractController
  7. {
  8.     #[Route(path: [
  9.         "fr" => "/help",
  10.         "en" => "/en/help",
  11.     ], name'help')]
  12.     public function index(): Response
  13.     {
  14.         return $this->render('help/index.html.twig', [
  15.             'controller_name' => 'HelpController',
  16.         ]);
  17.     }
  18.     #[Route(path: [
  19.         "fr" => "/help/lessor",
  20.         "en" => "/en/help/lessor",
  21.     ], name'rule_Lessor')]
  22.     public function lessor(): Response
  23.     {
  24.         return $this->render('help/ruleLessor.html.twig', [
  25.             'controller_name' => 'HelpController',
  26.         ]);
  27.     }
  28.     #[Route(path: [
  29.         "fr" => "/help/Tenant",
  30.         "en" => "/en/help/Tenant",
  31.     ], name'rule_Tenant')]
  32.     public function tenant(): Response
  33.     {
  34.         return $this->render('help/ruleTenant.html.twig', [
  35.             'controller_name' => 'HelpController',
  36.         ]);
  37.     }
  38.     #[Route(path: [
  39.         "fr" => "/help/GestionCompte",
  40.         "en" => "/en/help/GestionCompte",
  41.     ], name'gestion_Compte')]
  42.     public function gestion_Compte(): Response
  43.     {
  44.         return $this->render('help/gestionCompte.html.twig', [
  45.             'controller_name' => 'HelpController',
  46.         ]);
  47.     }
  48.     #[Route(path: [
  49.         "fr" => "/help/AideLocation",
  50.         "en" => "/en/help/AideLocation",
  51.     ], name'aide_Location')]
  52.     public function aide_Location(): Response
  53.     {
  54.         return $this->render('help/aideLocation.html.twig', [
  55.             'controller_name' => 'HelpController',
  56.         ]);
  57.     }
  58.     #[Route(path: [
  59.         "fr" => "/help/PayerRoomlers",
  60.         "en" => "/en/help/PayerRoomlers",
  61.     ], name'payer_Roomlers')]
  62.     public function payer_Roomlers(): Response
  63.     {
  64.         return $this->render('help/payerRoomlers.html.twig', [
  65.             'controller_name' => 'HelpController',
  66.         ]);
  67.     }
  68. }