getMethod('createFromGlobals'); echo "Method: " . $method->getName() . "\n"; echo "Return type: " . ($method->getReturnType()?->getName() ?? 'none') . "\n"; $attributes = $method->getAttributes(\App\Framework\DI\Initializer::class); echo "Has Initializer attribute: " . (count($attributes) > 0 ? "✅ YES" : "❌ NO") . "\n"; } else { echo "❌ RequestFactory class not found\n"; }