Bundle
extends ResourceBundle
in package
Table of Contents
Constants
- BRKITR : string = 'ICUDATA-brkitr'
- CURRENCY : string = 'ICUDATA-curr'
- LANGUAGE : string = 'ICUDATA-lang'
- LOCALE : string = 'ICUDATA'
Methods
- get() : mixed
- hasBundle() : bool
- Returns whether a resource bundle exists for the given locale.
Constants
BRKITR
public
string
BRKITR
= 'ICUDATA-brkitr'
CURRENCY
public
string
CURRENCY
= 'ICUDATA-curr'
LANGUAGE
public
string
LANGUAGE
= 'ICUDATA-lang'
LOCALE
public
string
LOCALE
= 'ICUDATA'
Methods
get()
public
get(mixed $index[, mixed $fallback = null ]) : mixed
Parameters
- $index : mixed
- $fallback : mixed = null
Tags
Attributes
- #[Override]
- #[ReturnTypeWillChange]
hasBundle()
Returns whether a resource bundle exists for the given locale.
public
static hasBundle(string $locale) : bool
Parameters
- $locale : string
-
BCP 47 locale identifier.