refactor: implement middleware chain (#4240)

* refactor: implement middleware chain

* refactor
This commit is contained in:
Dag 2024-08-30 00:07:58 +02:00 committed by GitHub
parent e7ae06dcf0
commit 39952c2d95
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 128 additions and 61 deletions

View file

@ -0,0 +1,8 @@
<?php
declare(strict_types=1);
interface Middleware
{
public function __invoke(Request $request, $next): Response;
}