src/Application/Front/Controller/LegalMentionController.php line 24
<?php
declare(strict_types=1);
namespace App\Application\Front\Controller;
use App\Application\Front\Manager\PostTagManager;
use App\Infrastructure\Client\Mailer\MailerManager;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
class LegalMentionController extends AbstractController
{
public function __construct(
protected readonly MailerManager $mailerManager,)
{
}
#[Route('/mentions_legales', name: 'legal_mentions')]
public function index(Request $request): Response
{
return $this->render('frontend/legal_mention/legal_mention.html.twig')->setSharedMaxAge(3600);
}
}