no-framework-tutorial/implementation/14-middleware/config/middlewares.php

12 lines
218 B
PHP
Raw Normal View History

2022-03-31 06:34:30 +00:00
<?php declare(strict_types=1);
use Lubian\NoFramework\Http\RouteMiddleware;
use Middlewares\TrailingSlash;
use Middlewares\Whoops;
return [
Whoops::class,
TrailingSlash::class,
RouteMiddleware::class,
];