class StubLocale extends Locale
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
| static string |
acceptFromHttp(string $header)
Not supported. |
from Locale |
| static string |
composeLocale(array $subtags)
Not supported. |
from Locale |
| static string |
filterMatches(string $langtag, string $locale, Boolean $canonicalize = false)
Not supported. |
from Locale |
| static array |
getAllVariants(string $locale)
Not supported. |
from Locale |
| static string |
getDefault()
Returns the default locale |
from Locale |
| static string |
getDisplayLanguage(string $locale, string $inLocale = null)
Not supported. |
from Locale |
| static string |
getDisplayName(string $locale, string $inLocale = null)
Not supported. |
from Locale |
| static string |
getDisplayRegion(string $locale, string $inLocale = null)
Not supported. |
from Locale |
| static string |
getDisplayScript(string $locale, string $inLocale = null)
Not supported. |
from Locale |
| static string |
getDisplayVariant(string $locale, string $inLocale = null)
Not supported. |
from Locale |
| static array |
getKeywords(string $locale)
Not supported. |
from Locale |
| static string|null |
getPrimaryLanguage(string $locale)
Not supported. |
from Locale |
| static string|null |
getRegion(string $locale)
Not supported. |
from Locale |
| static string|null |
getScript(string $locale)
Not supported. |
from Locale |
| static |
lookup(array $langtag, string $locale, Boolean $canonicalize = false, string $default = null)
Not supported. |
from Locale |
| static array |
parseLocale(string $locale)
Not supported. |
from Locale |
| static Boolean |
setDefault(string $locale)
Not supported. |
from Locale |
| static array |
getCurrenciesData(string $locale)
Returns the currencies data |
|
| static array |
getDisplayCurrencies(string $locale)
Returns the currencies names for a locale |
|
| static array |
getCurrencies()
Returns all available currencies codes |
|
| static | getDataDirectory() |
Details
in Locale at line 54
static public 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 70
static public string
composeLocale(array $subtags)
Not supported.
Returns a correctly ordered and delimited locale code
in Locale at line 88
static public string
filterMatches(string $langtag, string $locale, Boolean $canonicalize = false)
Not supported.
Checks if a language tag filter matches with locale
in Locale at line 104
static public array
getAllVariants(string $locale)
Not supported.
Returns the variants for the input locale
in Locale at line 116
static public string
getDefault()
Returns the default locale
in Locale at line 133
static public string
getDisplayLanguage(string $locale, string $inLocale = null)
Not supported.
Returns the localized display name for the locale language
in Locale at line 150
static public string
getDisplayName(string $locale, string $inLocale = null)
Not supported.
Returns the localized display name for the locale
in Locale at line 167
static public string
getDisplayRegion(string $locale, string $inLocale = null)
Not supported.
Returns the localized display name for the locale region
in Locale at line 184
static public string
getDisplayScript(string $locale, string $inLocale = null)
Not supported.
Returns the localized display name for the locale script
in Locale at line 201
static public string
getDisplayVariant(string $locale, string $inLocale = null)
Not supported.
Returns the localized display name for the locale variant
in Locale at line 217
static public array
getKeywords(string $locale)
Not supported.
Returns the keywords for the locale
in Locale at line 233
static public string|null
getPrimaryLanguage(string $locale)
Not supported.
Returns the primary language for the locale
in Locale at line 249
static public string|null
getRegion(string $locale)
Not supported.
Returns the region for the locale
in Locale at line 265
static public string|null
getScript(string $locale)
Not supported.
Returns the script for the locale
in Locale at line 282
static public
lookup(array $langtag, string $locale, Boolean $canonicalize = false, string $default = null)
Not supported.
Returns the closest language tag for the locale
in Locale at line 298
static public array
parseLocale(string $locale)
Not supported.
Returns an associative array of locale identifier subtags
in Locale at line 314
static public Boolean
setDefault(string $locale)
Not supported.
Sets the default runtime locale
at line 50
static public array
getCurrenciesData(string $locale)
Returns the currencies data
at line 68
static public array
getDisplayCurrencies(string $locale)
Returns the currencies names for a locale
at line 82
static public array
getCurrencies()
Returns all available currencies codes