Ecma\Intl\Collator
- class Ecma\Intl\Collator
- static supportedLocalesOf($locales[, $options = null]) string[]
Returns an array of those locales provided that are supported by this implementation without having to fall back to the default locale.
- Parameters:
$locales (
iterable<Stringable|string> | Stringable | string | null
) – One or more language tags to check for support.$options (
Ecma\Intl\SupportedLocales\Options
) – Options to use when evaluating supported locales.