This commit is contained in:
2025-12-30 19:20:40 +08:00
parent 2d42ed7090
commit 8d53079ba4
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -34,6 +34,7 @@ class Middleware
if (!in_array($middleware, static::$mapping[$path])) { if (!in_array($middleware, static::$mapping[$path])) {
static::$mapping[$path][] = $middleware; static::$mapping[$path][] = $middleware;
} }
var_dump(static::$mapping[$path]);
} }
-1
View File
@@ -34,7 +34,6 @@ class Request implements ServerRequestInterface
public function __construct() public function __construct()
{ {
$this->middlewares = \config('servers.request.middlewares', []); $this->middlewares = \config('servers.request.middlewares', []);
var_dump($this->middlewares);
$this->exception = \config('servers.request.exception', ExceptionHandlerDispatcher::class); $this->exception = \config('servers.request.exception', ExceptionHandlerDispatcher::class);
} }