改名
This commit is contained in:
@@ -233,7 +233,6 @@ class Loader extends BaseObject
|
|||||||
$path = '/' . trim($path, '/');
|
$path = '/' . trim($path, '/');
|
||||||
foreach ($this->_directory as $key => $_path) {
|
foreach ($this->_directory as $key => $_path) {
|
||||||
$key = '/' . trim($key, '/');
|
$key = '/' . trim($key, '/');
|
||||||
var_dump($key . '->' . $path);
|
|
||||||
if (!str_starts_with($key, $path)) {
|
if (!str_starts_with($key, $path)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -395,7 +394,6 @@ class Loader extends BaseObject
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
foreach ($classes as $className) {
|
foreach ($classes as $className) {
|
||||||
var_dump($className);
|
|
||||||
$annotations = $this->_classes[$className] ?? null;
|
$annotations = $this->_classes[$className] ?? null;
|
||||||
if ($annotations === null) {
|
if ($annotations === null) {
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
@@ -561,7 +561,6 @@ class Node extends HttpService
|
|||||||
private function runWith(): mixed
|
private function runWith(): mixed
|
||||||
{
|
{
|
||||||
$requestParams = func_get_args();
|
$requestParams = func_get_args();
|
||||||
var_dump(...$requestParams);
|
|
||||||
if (count($requestParams) > 0) {
|
if (count($requestParams) > 0) {
|
||||||
return call_user_func($this->callback, ...$requestParams);
|
return call_user_func($this->callback, ...$requestParams);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user