modify
This commit is contained in:
@@ -185,7 +185,11 @@ class Loader extends BaseObject
|
||||
if (!class_exists($attribute->getName())) {
|
||||
continue;
|
||||
}
|
||||
$_property[] = $attribute->newInstance();
|
||||
$property = $attribute->newInstance();
|
||||
if ($property instanceof Inject) {
|
||||
$property->execute([$_array['handler'], $method]);
|
||||
}
|
||||
$_property[] = $property;
|
||||
}
|
||||
$_array['property'][$method->getName()] = $_property;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user