(No version information available, might only be in Git)
IntlListFormatter::__construct — Cria uma instância de IntlListFormatter
$locale, int $type = IntlListFormatter::TYPE_AND, int $width = IntlListFormatter::WIDTH_WIDE)Cria uma nova instância de IntlListFormatter para a localidade informada.
localetypeIntlListFormatter::TYPE_*:
IntlListFormatter::TYPE_AND,
IntlListFormatter::TYPE_OR ou
IntlListFormatter::TYPE_UNITS.
widthIntlListFormatter::WIDTH_*:
IntlListFormatter::WIDTH_WIDE,
IntlListFormatter::WIDTH_SHORT ou
IntlListFormatter::WIDTH_NARROW.
Lança uma IntlException se o formatador não puder ser criado (ex.: localidade inválida ou versão de ICU anterior à 67).
| Versão | Descrição |
|---|---|
| 8.5.0 | A classe foi adicionada. |