<?php

declare(strict_types=1);

namespace App\Controllers;

use App\Core\Controller;
use App\Core\Response;

final class ErrorController extends Controller
{
    public function notFound(): void
    {
        Response::status(404);
        $this->view('errors/404', ['title' => 'Page introuvable']);
    }
}
