改名
This commit is contained in:
@@ -173,9 +173,10 @@ class Loader extends BaseObject
|
|||||||
$_array['methods'][$method->getName()] = $_method;
|
$_array['methods'][$method->getName()] = $_method;
|
||||||
}
|
}
|
||||||
|
|
||||||
$methods = $replace->getProperties(ReflectionMethod::IS_PUBLIC ^ ReflectionProperty::IS_STATIC);
|
$methods = $replace->getProperties();
|
||||||
foreach ($methods as $method) {
|
foreach ($methods as $method) {
|
||||||
$_property = [];
|
$_property = [];
|
||||||
|
if ($method->isStatic()) continue;
|
||||||
foreach ($method->getAttributes() as $attribute) {
|
foreach ($method->getAttributes() as $attribute) {
|
||||||
if (!class_exists($attribute->getName())) {
|
if (!class_exists($attribute->getName())) {
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user