69 lines
2.3 KiB
PHP
69 lines
2.3 KiB
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace App\Controller;
|
||
|
|
|
||
|
|
use App\Entity\Account;
|
||
|
|
use App\Entity\AccountResetPasswordRequest;
|
||
|
|
use App\Form\RequestPasswordConfirmType;
|
||
|
|
use App\Form\RequestPasswordRequestType;
|
||
|
|
use App\Logger\AppLogger;
|
||
|
|
use App\Service\ResetPassword\Event\ResetPasswordConfirmEvent;
|
||
|
|
use App\Service\ResetPassword\Event\ResetPasswordEvent;
|
||
|
|
use Doctrine\ORM\EntityManagerInterface;
|
||
|
|
use KnpU\OAuth2ClientBundle\Client\ClientRegistry;
|
||
|
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||
|
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||
|
|
use Symfony\Component\HttpFoundation\JsonResponse;
|
||
|
|
use Symfony\Component\HttpFoundation\Request;
|
||
|
|
use Symfony\Component\HttpFoundation\Response;
|
||
|
|
use Symfony\Component\PasswordHasher\Hasher\UserPasswordHasherInterface;
|
||
|
|
use Symfony\Component\Routing\Attribute\Route;
|
||
|
|
use Symfony\Component\Security\Http\Authentication\AuthenticationUtils;
|
||
|
|
use Symfony\Contracts\HttpClient\HttpClientInterface;
|
||
|
|
|
||
|
|
|
||
|
|
class ReserverController extends AbstractController
|
||
|
|
{
|
||
|
|
|
||
|
|
#[Route('/revervation', name: 'revervation')]
|
||
|
|
public function revervation()
|
||
|
|
{
|
||
|
|
return $this->render('revervation/home.twig');
|
||
|
|
}
|
||
|
|
#[Route('/revervation/contact', name: 'revervation_contact')]
|
||
|
|
public function revervationContact()
|
||
|
|
{
|
||
|
|
return $this->render('revervation/home.twig');
|
||
|
|
}
|
||
|
|
#[Route('/revervation/recherche', name: 'reservation_search')]
|
||
|
|
public function recherche()
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
#[Route('/revervation/mentions-legal', name: 'revervation_mentions-legal')]
|
||
|
|
public function revervationLegal()
|
||
|
|
{
|
||
|
|
return $this->render('revervation/legal.twig');
|
||
|
|
}
|
||
|
|
#[Route('/revervation/rgpd', name: 'revervation_rgpd')]
|
||
|
|
public function revervationRgpd()
|
||
|
|
{
|
||
|
|
return $this->render('revervation/rgpd.twig');
|
||
|
|
}
|
||
|
|
#[Route('/revervation/cookies', name: 'revervation_cookies')]
|
||
|
|
public function revervationCookies()
|
||
|
|
{
|
||
|
|
return $this->render('revervation/cookies.twig');
|
||
|
|
}
|
||
|
|
#[Route('/revervation/cgv', name: 'revervation_cgv')]
|
||
|
|
public function revervationCgv()
|
||
|
|
{
|
||
|
|
return $this->render('revervation/cgv.twig');
|
||
|
|
}
|
||
|
|
#[Route('/revervation/hosting', name: 'revervation_hosting')]
|
||
|
|
public function revervationHosting()
|
||
|
|
{
|
||
|
|
return $this->render('revervation/hosting.twig');
|
||
|
|
}
|
||
|
|
}
|