改名
This commit is contained in:
@@ -115,6 +115,10 @@ class Annotation extends Component
|
||||
continue;
|
||||
}
|
||||
|
||||
if ($method->getName() == 'getGoods_descriptionAttribute') {
|
||||
var_dump($method->getAttributes());
|
||||
}
|
||||
|
||||
$tmp = $this->resolveAnnotations($method, $alias, $object);
|
||||
|
||||
$this->_classes[$reflect->getName()][$method->getName()] = $tmp;
|
||||
@@ -144,11 +148,6 @@ class Annotation extends Component
|
||||
private function resolveAnnotations(ReflectionMethod $method, $alias, $object): array
|
||||
{
|
||||
$attributes = $method->getAttributes();
|
||||
$this->debug($method->getName());
|
||||
if ($method->getName() == 'getGoods_descriptionAttribute') {
|
||||
var_dump($method, $attributes);
|
||||
}
|
||||
|
||||
if (count($attributes) < 1) {
|
||||
return [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user