blob: 996bdb5de149cf00223455b07a08a6069e45cb6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?php
declare(strict_types=1);
namespace Lightscale\Router\Concerns\Strategy;
use Lightscale\Router\Exceptions\NotFoundException;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
trait ThrowsNotFoundException
{
public function notFound(RequestInterface $_): ResponseInterface
{
throw new NotFoundException();
}
}
|