class Intl
Gives access to internationalization data.
BUFFER_SIZE | The number of resource bundles to buffer. Loading the same resource bundle for n locales takes up n spots in the buffer. |
CURRENCY_DIR | The directory name of the currency data. |
LANGUAGE_DIR | The directory name of the language data. |
SCRIPT_DIR | The directory name of the script data. |
LOCALE_DIR | The directory name of the locale data. |
REGION_DIR | The directory name of the region data. |
static bool | isExtensionLoaded() Returns whether the intl extension is installed. | |
static CurrencyBundleInterface | getCurrencyBundle() Returns the bundle containing currency information. | |
static LanguageBundleInterface | getLanguageBundle() Returns the bundle containing language information. | |
static LocaleBundleInterface | getLocaleBundle() Returns the bundle containing locale information. | |
static RegionBundleInterface | getRegionBundle() Returns the bundle containing region information. | |
static string|null | getIcuVersion() Returns the version of the installed ICU library. | |
static string | getIcuDataVersion() Returns the version of the installed ICU data. | |
static string | getIcuStubVersion() Returns the ICU version that the stub classes mimic. | |
static string | getDataDirectory() Returns the absolute path to the data directory. |
Returns whether the intl extension is installed.
bool | Returns true if the intl extension is installed, false otherwise |
Returns the bundle containing currency information.
CurrencyBundleInterface | The currency resource bundle |
Returns the bundle containing language information.
LanguageBundleInterface | The language resource bundle |
Returns the bundle containing locale information.
LocaleBundleInterface | The locale resource bundle |
Returns the bundle containing region information.
RegionBundleInterface | The region resource bundle |
Returns the version of the installed ICU library.
string|null | The ICU version or NULL if it could not be determined |
Returns the version of the installed ICU data.
string | The version of the installed ICU data |
Returns the ICU version that the stub classes mimic.
string | The ICU version of the stub classes |
Returns the absolute path to the data directory.
string | The absolute path to the data directory |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Intl/Intl.html