This commit is contained in:
2021-03-03 20:01:11 +08:00
parent 8493ebc796
commit 47787e9a38
+4
View File
@@ -149,6 +149,10 @@ class Loader extends BaseObject
continue;
}
if (!$replace->getAttributes(Target::class)) {
continue;
}
$_array = ['handler' => $replace->newInstanceWithoutConstructor(), 'target' => [], 'methods' => [], 'property' => []];
foreach ($replace->getAttributes() as $attribute) {
if ($attribute->getName() == Attribute::class) {