modify
This commit is contained in:
@@ -311,10 +311,10 @@ class Loader extends BaseObject
|
|||||||
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;
|
||||||
}
|
}
|
||||||
var_export($reflect);
|
|
||||||
$class = $reflect->newInstance();
|
$class = $reflect->newInstance();
|
||||||
foreach ($annotations['target'] ?? [] as $value) {
|
foreach ($annotations['target'] ?? [] as $value) {
|
||||||
$value->execute([$class]);
|
$value->execute([$class]);
|
||||||
|
|||||||
Reference in New Issue
Block a user