Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class Callbacks |
||
8 | { |
||
9 | /** |
||
10 | * Return a HTTP 404 Not Found response. |
||
11 | * |
||
12 | * @throws \Symfony\Component\HttpKernel\Exception\HttpException |
||
13 | */ |
||
14 | 32 | public static function notFound() |
|
17 | } |
||
18 | |||
19 | /** |
||
20 | * Redirect to given route. |
||
21 | * |
||
22 | * @param string $route |
||
23 | * @return \Illuminate\Http\RedirectResponse |
||
24 | */ |
||
25 | 32 | public static function redirectTo(string $route) |
|
30 |