Since: 8.5

final class IntlListFormatter (View source)

Constants

TYPE_AND

TYPE_OR

TYPE_UNITS

WIDTH_WIDE

WIDTH_SHORT

WIDTH_NARROW

Methods

__construct(string $locale, int $type = IntlListFormatter::TYPE_AND, int $width = IntlListFormatter::WIDTH_WIDE)

No description

string|false
format(array $strings)

No description

int
getErrorCode()

No description

string
getErrorMessage()

No description

Details

__construct(string $locale, int $type = IntlListFormatter::TYPE_AND, int $width = IntlListFormatter::WIDTH_WIDE)

No description

Parameters

string $locale
int $type
int $width

string|false format(array $strings)

No description

Parameters

array $strings

Return Value

string|false

int getErrorCode()

No description

Return Value

int

string getErrorMessage()

No description

Return Value

string