This commit is contained in:
2023-12-18 16:20:38 +08:00
parent 00c089363f
commit 04b64bb4b8
2 changed files with 12 additions and 6 deletions
+4
View File
@@ -96,6 +96,10 @@ class Scanner extends Component
if (count($data) > 0) {
return;
}
$data = $reflect->getAttributes(\Attribute::class);
if (count($data) > 0) {
return;
}
$object = $this->container->parse($class);
$methods = $this->container->getReflectionClass($class);
foreach ($methods->getMethods(ReflectionMethod::IS_PUBLIC) as $method) {