src/Controller/HomeController.php line 25

Open in your IDE?
  1. <?php
  2. namespace App\Controller;
  3. use Pimcore\Controller\FrontendController;
  4. use Symfony\Component\HttpFoundation\Request;
  5. use Symfony\Component\HttpFoundation\Response;
  6. class HomeController extends FrontendController
  7. {
  8.     /**
  9.      * @param Request $request
  10.      * @return Response
  11.      */
  12.     public function defaultAction(Request $request): Response
  13.     {
  14.         return $this->render('home/index.html.twig');
  15.     }
  16.     public function maintenanceAction(Request $request): Response
  17.     {
  18.         return $this->render('home/maintenance.html.twig');
  19.     }
  20.     public function errorAction(Request $request): Response
  21.     {
  22.         return $this->render('home/error.html.twig');
  23.     }
  24. }