From 944947307be398fd6f9b005bfe5f6e813494473c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 19 Jan 2021 18:21:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Annotation/Annotation.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } }