public static function transliterate($string, $transliterator = null)
    {
        if (!$transliterator) {
            $transliterator = static::$_defaultTransliterator ?: static::$_defaultTransliteratorId;
        }

        return transliterator_transliterate($transliterator, $string);
    }
public static function transliterate($string, $transliterator = null)
    {
        if (!$transliterator) {
            $transliterator = static::$_defaultTransliterator ?: static::$_defaultTransliteratorId;
        }

        return transliterator_transliterate($transliterator, $string);
    }
public static function transliterate ( $ string , $ transliterator = null ) { if ( ! $ transliterator ) { $ transliterator = static :: $ _defaultTransliterator ? : static :: $ _defaultTransliteratorId ; } return transliterator_transliterate ( $ transliterator , $ string ) ; }
Transliterate string.

@param string $string String to transliterate.
@param \Transliterator|string|null $transliterator Either a Transliterator
instance, or a transliterator identifier string. If `null`, the default
transliterator (identifier) set via `setTransliteratorId()` or
`setTransliterator()` will be used.
@return string
@see https://secure.php.net/manual/en/transliterator.transliterate.php
Transliterate string .