This commit is contained in:
as2252258@163.com
2021-04-03 01:37:42 +08:00
parent d6550a2217
commit 2466d57d0e
+5 -5
View File
@@ -185,11 +185,11 @@ class Loader extends BaseObject
if (!class_exists($attribute->getName())) {
continue;
}
$property = $attribute->newInstance();
if ($property instanceof Inject) {
$property->execute([$_array['handler'], $method]);
}
$_property[] = $property;
// $property = $attribute->newInstance();
// if ($property instanceof Inject) {
// $property->execute([$_array['handler'], $method]);
// }
$_property[] = $attribute->newInstance();
}
$_array['property'][$method->getName()] = $_property;
}