This commit is contained in:
as2252258@163.com
2021-05-02 04:32:18 +08:00
parent 3ef6bf9548
commit 96cbb09b28
+1 -1
View File
@@ -311,10 +311,10 @@ class Loader extends BaseObject
if ($annotations === null) {
continue;
}
var_export($annotations);
if (($reflect = $this->getRelect($annotations)) === null) {
continue;
}
var_export($reflect);
$class = $reflect->newInstance();
foreach ($annotations['target'] ?? [] as $value) {
$value->execute([$class]);