eee
This commit is contained in:
@@ -34,6 +34,7 @@ class Middleware
|
||||
if (!in_array($middleware, static::$mapping[$path])) {
|
||||
static::$mapping[$path][] = $middleware;
|
||||
}
|
||||
var_dump(static::$mapping[$path]);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -34,7 +34,6 @@ class Request implements ServerRequestInterface
|
||||
public function __construct()
|
||||
{
|
||||
$this->middlewares = \config('servers.request.middlewares', []);
|
||||
var_dump($this->middlewares);
|
||||
$this->exception = \config('servers.request.exception', ExceptionHandlerDispatcher::class);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user