diff --git a/Annotation/Annotation.php b/Annotation/Annotation.php index fafceeae..36735dd8 100644 --- a/Annotation/Annotation.php +++ b/Annotation/Annotation.php @@ -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 []; }