public static function getNameFromNs($className, $namespace)
    {
        $className = static::getFormatNamespace($className, true, true);
        $namespace = static::getFormatNamespace($namespace, true, true);
        if (StringHelper::startsWith($className, $namespace)) {
            $className = substr($className, strlen($namespace));
        }

        return trim($className, '\\');
    }