no-framework-tutorial/implementation/16-caching/config/middlewares.php

14 lines
297 B
PHP
Raw Normal View History

2022-04-04 22:02:52 +00:00
<?php declare(strict_types=1);
use Lubian\NoFramework\Http\RouteMiddleware;
use Lubian\NoFramework\Middleware\CacheMiddleware;
use Middlewares\TrailingSlash;
use Middlewares\Whoops;
return [
Whoops::class,
TrailingSlash::class,
CacheMiddleware::class,
RouteMiddleware::class,
];