private function resolveTypeName($className)
    {
        if (strpos($className, ':') !== false || strpos($className, '\\') !== false) {
            return $this->getMetadataCollector()->getDocumentType($className);
        }

        return $className;
    }
private function resolveTypeName($className)
    {
        if (strpos($className, ':') !== false || strpos($className, '\\') !== false) {
            return $this->getMetadataCollector()->getDocumentType($className);
        }

        return $className;
    }
private function resolveTypeName ( $ className ) { if ( strpos ( $ className , ':' ) !== false || strpos ( $ className , '\\' ) !== false ) { return $ this -> getMetadataCollector ( ) -> getDocumentType ( $ className ) ; } return $ className ; }
Resolves type name by class name.

@param string $className

@return string
Resolves type name by class name .