src/Controller/PUB/IndexController.php line 17

Open in your IDE?
  1. <?php
  2. namespace App\Controller\PUB;
  3. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  4. use Symfony\Component\HttpFoundation\Response;
  5. use Symfony\Component\Routing\Annotation\Route;
  6. /**
  7.  * @Route("/")
  8.  */
  9. final class IndexController extends AbstractController
  10. {
  11.     /**
  12.      * @Route("", name="index")
  13.      */
  14.     public function index(): Response
  15.     {
  16.         return $this->render('pages/index.html.twig');
  17.     }
  18. }