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