From 16b5bc7a6baf186a531f19be67a27f9f839b2009 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 3 Aug 2023 14:02:07 +0800 Subject: [PATCH] qqq --- src/Annotate/Controller.php | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 src/Annotate/Controller.php diff --git a/src/Annotate/Controller.php b/src/Annotate/Controller.php deleted file mode 100644 index 90cba01..0000000 --- a/src/Annotate/Controller.php +++ /dev/null @@ -1,31 +0,0 @@ -getReflectionClass($object::class); - foreach ($reflection->getMethods() as $method) { - $attributes = $method->getAttributes(); - foreach ($attributes as $attribute) { - if (!class_exists($attribute->getName())) { - continue; - } - $attribute->newInstance()->dispatch($object, $method->getName()); - } - } - - } - -}