改名
This commit is contained in:
@@ -185,19 +185,13 @@ class Loader extends BaseObject
|
||||
if (!class_exists($attribute->getName())) {
|
||||
continue;
|
||||
}
|
||||
$property = $attribute->newInstance();
|
||||
if ($property instanceof Inject) {
|
||||
$property->execute([$_array['handler'], $method]);
|
||||
} else {
|
||||
$_property[] = $attribute->newInstance();
|
||||
}
|
||||
}
|
||||
$_array['property'][$method->getName()] = $_property;
|
||||
}
|
||||
|
||||
$this->_fileMap[$replace->getFileName()] = $replace->getName();
|
||||
|
||||
|
||||
$this->_classes[$replace->getName()] = $_array;
|
||||
} catch (Throwable $throwable) {
|
||||
$this->error($throwable->getMessage());
|
||||
|
||||
Reference in New Issue
Block a user