fullyQualifiedName($name) ?? ''); return ltrim($fqn, '\\'); } protected function isRef(?string $ref): bool { return $ref && str_starts_with($ref, '#/'); } }