mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-30 05:10:15 +02:00
refactor: implement middleware chain (#4240)
* refactor: implement middleware chain * refactor
This commit is contained in:
8
middlewares/Middleware.php
Normal file
8
middlewares/Middleware.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
interface Middleware
|
||||
{
|
||||
public function __invoke(Request $request, $next): Response;
|
||||
}
|
Reference in New Issue
Block a user