aboutsummaryrefslogtreecommitdiff
path: root/src/Handlers/NotFoundHandler.php
blob: 18279956110a44218c76646da44999063a591c7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

namespace Micropoly\Handlers;

use Micropoly\Env;
use Micropoly\Handler;

class NotFoundHandler implements Handler
{
    public function handle(Env $env, array $variables)
    {
        http_response_code(404);
        echo "404";
    }
}