StubLocale deprecated
class StubLocale extends Locale
deprecated
Alias of {@link \Symfony\Component\Intl\Locale\Locale}.
Constants
DEFAULT_LOCALE |
|
ACTUAL_LOCALE |
|
VALID_LOCALE |
|
LANG_TAG |
|
EXTLANG_TAG |
|
SCRIPT_TAG |
|
REGION_TAG |
|
VARIANT_TAG |
|
GRANDFATHERED_LANG_TAG |
|
PRIVATE_TAG |
|
Methods
Not supported. Returns the best available locale based on HTTP "Accept-Language" header according to RFC 2616.
Not supported. Returns a correctly ordered and delimited locale code.
Not supported. Checks if a language tag filter matches with locale.
Not supported. Returns the variants for the input locale.
Not supported. Returns the localized display name for the locale language.
Not supported. Returns the localized display name for the locale.
Not supported. Returns the localized display name for the locale region.
Not supported. Returns the localized display name for the locale script.
Not supported. Returns the localized display name for the locale variant.
Not supported. Returns the keywords for the locale.
Not supported. Returns the primary language for the locale.
Not supported. Returns the region for the locale.
Not supported. Returns the script for the locale.
Not supported. Returns the closest language tag for the locale.
Not supported. Returns an associative array of locale identifier subtags.
Returns the currencies data.
Returns the currencies names for a locale.
Returns all available currencies codes.
No description
Details
in Locale at line line 55
static string
acceptFromHttp(string $header)
Not supported. Returns the best available locale based on HTTP "Accept-Language" header according to RFC 2616.
in Locale at line line 71
static string
composeLocale(array $subtags)
Not supported. Returns a correctly ordered and delimited locale code.
in Locale at line line 89
static string
filterMatches(string $langtag, string $locale, bool $canonicalize = false)
Not supported. Checks if a language tag filter matches with locale.
in Locale at line line 105
static array
getAllVariants(string $locale)
Not supported. Returns the variants for the input locale.
in Locale at line line 117
static string
getDefault()
Returns the default locale.
in Locale at line line 134
static string
getDisplayLanguage(string $locale, string $inLocale = null)
Not supported. Returns the localized display name for the locale language.
in Locale at line line 151
static string
getDisplayName(string $locale, string $inLocale = null)
Not supported. Returns the localized display name for the locale.
in Locale at line line 168
static string
getDisplayRegion(string $locale, string $inLocale = null)
Not supported. Returns the localized display name for the locale region.
in Locale at line line 185
static string
getDisplayScript(string $locale, string $inLocale = null)
Not supported. Returns the localized display name for the locale script.
in Locale at line line 202
static string
getDisplayVariant(string $locale, string $inLocale = null)
Not supported. Returns the localized display name for the locale variant.
in Locale at line line 218
static array
getKeywords(string $locale)
Not supported. Returns the keywords for the locale.
in Locale at line line 234
static string|null
getPrimaryLanguage(string $locale)
Not supported. Returns the primary language for the locale.
in Locale at line line 250
static string|null
getRegion(string $locale)
Not supported. Returns the region for the locale.
in Locale at line line 266
static string|null
getScript(string $locale)
Not supported. Returns the script for the locale.
in Locale at line line 283
static
lookup(array $langtag, string $locale, bool $canonicalize = false, string $default = null)
Not supported. Returns the closest language tag for the locale.
in Locale at line line 299
static array
parseLocale(string $locale)
Not supported. Returns an associative array of locale identifier subtags.
in Locale at line line 315
static bool
setDefault(string $locale)
Not supported. Sets the default runtime locale.
at line line 51
static array
getCurrenciesData(string $locale)
Returns the currencies data.
at line line 69
static array
getDisplayCurrencies(string $locale)
Returns the currencies names for a locale.
at line line 83
static array
getCurrencies()
Returns all available currencies codes.