diff --git a/Annotation/Annotation.php b/Annotation/Annotation.php index 957e8344..aaeaf461 100644 --- a/Annotation/Annotation.php +++ b/Annotation/Annotation.php @@ -105,14 +105,14 @@ class Annotation extends Component */ private function getReflect(string $class, string $alias): array { - var_dump($class); - $reflect = $this->reflectClass($class); if ($reflect->isInstantiable()) { $object = $reflect->newInstance(); foreach ($reflect->getMethods(ReflectionMethod::IS_PUBLIC) as $method) { $tmp = $this->resolveAnnotations($method, $alias, $object); + var_dump($tmp); + $this->_classes[$reflect->getName()][$method->getName()] = $tmp; } }