This commit is contained in:
2025-12-31 01:10:27 +08:00
parent de0a39d207
commit 3b7e6f992f
+1 -1
View File
@@ -352,6 +352,7 @@ class Scanner extends Component
*/
private function analyzeClassMethods(ReflectionClass $reflect, string $class): void
{
var_dump($reflect->getName());
foreach ($reflect->getMethods(ReflectionMethod::IS_PUBLIC) as $method) {
// 跳过静态方法和继承的方法
if ($method->isStatic() || $method->getDeclaringClass()->getName() !== $class) {
@@ -367,7 +368,6 @@ class Scanner extends Component
*/
private function processMethodAttributes(ReflectionMethod $method, string $class): void
{
var_dump($class);
foreach ($method->getAttributes() as $attribute) {
$attributeName = $attribute->getName();