改名
This commit is contained in:
@@ -144,6 +144,7 @@ class Annotation extends Component
|
|||||||
private function resolveMethod(ReflectionClass $reflect, $class, $alias, $object)
|
private function resolveMethod(ReflectionClass $reflect, $class, $alias, $object)
|
||||||
{
|
{
|
||||||
var_dump($reflect->getName());
|
var_dump($reflect->getName());
|
||||||
|
try {
|
||||||
foreach ($reflect->getMethods(ReflectionMethod::IS_PUBLIC) as $method) {
|
foreach ($reflect->getMethods(ReflectionMethod::IS_PUBLIC) as $method) {
|
||||||
if ($method->class != $class) {
|
if ($method->class != $class) {
|
||||||
continue;
|
continue;
|
||||||
@@ -155,6 +156,9 @@ class Annotation extends Component
|
|||||||
}
|
}
|
||||||
$this->_classes[$reflect->getName()][$method->getName()] = $tmp;
|
$this->_classes[$reflect->getName()][$method->getName()] = $tmp;
|
||||||
}
|
}
|
||||||
|
} catch (\Throwable $throwable) {
|
||||||
|
$this->addError($throwable);
|
||||||
|
}
|
||||||
$this->resolveProperty($reflect, $object);
|
$this->resolveProperty($reflect, $object);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user