private function getParentClassName(ClassMetadata $metadata)
    {
        // So far only single inheritance is supported
        if (count($metadata->parentClasses) > 0) {
            return $metadata->parentClasses[0];
        }

        return $metadata->getName();
    }
private function getParentClassName(ClassMetadata $metadata)
    {
        // So far only single inheritance is supported
        if (count($metadata->parentClasses) > 0) {
            return $metadata->parentClasses[0];
        }

        return $metadata->getName();
    }
@param ClassMetadata $metadata

@return string