src/Controller/Frontend/FrontendController.php line 19

Open in your IDE?
  1. <?php
  2. // src/Controller/Frontend/FrontendController.php
  3. namespace App\Controller\Frontend;
  4. use Symfony\Component\HttpFoundation\Response;
  5. use Symfony\Component\Routing\Annotation\Route;
  6. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  7. use Symfony\Component\HttpFoundation\Session\SessionInterface;
  8. use Symfony\Component\Security\Core\Security;
  9. use Symfony\Component\HttpFoundation\Request;
  10. class FrontendController extends AbstractController
  11. {
  12.     
  13.  
  14.     /**
  15.      * @Route("/", name="homepage_website", methods={"GET", "POST"})
  16.      */
  17.     public function homepage(Request $request): Response
  18.     {
  19.               
  20.            return $this->render('website/index.html.twig', [
  21.             
  22.         ]);
  23.         
  24.     }
  25.   }