This commit is contained in:
2025-12-30 20:17:46 +08:00
parent c243348e78
commit 58cb9b53db
+1 -1
View File
@@ -215,7 +215,7 @@ class Router
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));
}
}