modify
This commit is contained in:
@@ -241,7 +241,6 @@ class Loader extends BaseObject
|
|||||||
if (in_array($key, $outPath)) {
|
if (in_array($key, $outPath)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
var_export($_path);
|
|
||||||
$this->execute($_path);
|
$this->execute($_path);
|
||||||
}
|
}
|
||||||
} catch (Throwable $exception) {
|
} catch (Throwable $exception) {
|
||||||
@@ -307,10 +306,10 @@ class Loader extends BaseObject
|
|||||||
$annotation = Snowflake::getAnnotation();
|
$annotation = Snowflake::getAnnotation();
|
||||||
foreach ($classes as $className) {
|
foreach ($classes as $className) {
|
||||||
$annotations = $this->_classes[$className] ?? null;
|
$annotations = $this->_classes[$className] ?? null;
|
||||||
|
var_export($annotations);
|
||||||
if ($annotations === null) {
|
if ($annotations === null) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
var_export($annotations);
|
|
||||||
if (($reflect = $this->getRelect($annotations)) === null) {
|
if (($reflect = $this->getRelect($annotations)) === null) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -331,7 +330,6 @@ class Loader extends BaseObject
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
unset($this->_classes[$className]);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user