src/PropertyInfo/Extractors/PhpDocExtractor.php
private function getClassName(ClassReflector $classReflector)
    {
        $className = $classReflector->getName();
        if ('\\' === $className[0]) {
            return substr($className, 1);
        }

        return $className;
    }
private function getClassName(ClassReflector $classReflector)
    {
        $className = $classReflector->getName();
        if ('\\' === $className[0]) {
            return substr($className, 1);
        }

        return $className;
    }
Gets the normalized class name (without trailing backslash).

@param ClassReflector $classReflector

@return string