src/Controller/app/IndexController.php line 20

Open in your IDE?
  1. <?php
  2. namespace App\Controller\app;
  3. use App\Controller\AbstractBaseController;
  4. use App\Service\ParametersApp;
  5. use Sentia\Utils\SentiaUtils;
  6. use Symfony\Component\HttpFoundation\Response;
  7. use Symfony\Component\Routing\Annotation\Route;
  8. class IndexController extends AbstractBaseController
  9. {
  10.     public function __construct(SentiaUtils $utils, ParametersApp $parametersApp)
  11.     {
  12.         parent::__construct($utils, $parametersApp);
  13.     }
  14.     #[Route('/', name: 'index')]
  15.     public function index(): Response
  16.     {
  17.         return $this->render('web/index.html.twig');
  18.     }
  19. }