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