eee
This commit is contained in:
+1
-1
@@ -215,7 +215,7 @@ class Router
|
|||||||
array_unshift($middlewares, new ValidatorMiddleware(di(ResponseInterface::class), $method->getClass(), $method->getMethod()));
|
array_unshift($middlewares, new ValidatorMiddleware(di(ResponseInterface::class), $method->getClass(), $method->getMethod()));
|
||||||
}
|
}
|
||||||
|
|
||||||
var_dump(sprintf("%s::%s(%s)",$method->getClass(), $method->getMethod(), json_encode($middlewares,JSON_UNESCAPED_UNICODE)));
|
// var_dump(sprintf("%s::%s(%s)",$method->getClass(), $method->getMethod(), json_encode($middlewares,JSON_UNESCAPED_UNICODE)));
|
||||||
$router->setHttpHandler($name, new HttpRequestHandler($middlewares, $method));
|
$router->setHttpHandler($name, new HttpRequestHandler($middlewares, $method));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user