public static function realmNameToSlug(string $name): string
    {
        $name = \mb_strtolower($name, 'UTF-8');
        $slug = \str_replace(static::$replaceTable[0], static::$replaceTable[1], $name);
        $slug = \preg_replace(static::$regexTable[0], static::$regexTable[1], $slug);

        return \trim((string) $slug, '-');
    }