src/Controller/ErrorController.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Controller;
  3. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  4. use Symfony\Component\HttpFoundation\Request;
  5. use Symfony\Component\HttpFoundation\Response;
  6. use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
  7. class ErrorController extends AbstractController
  8. {
  9.     public function show404Action(Request $request): Response
  10.     {
  11.         return $this->render('Index/notfound.html.twig');
  12.     }
  13. }