IntlFormatter
in package
implements
IntlFormatterInterface
Tags
Interfaces, Classes, Traits and Enums
- IntlFormatterInterface
- Formats ICU message patterns.
Table of Contents
- $cache : mixed
- $hasMessageFormatter : mixed
- formatIntl() : string
- Formats a localized message using rules defined by ICU MessageFormat.
Properties
$cache
private
mixed
$cache
= []
$hasMessageFormatter
private
mixed
$hasMessageFormatter
Methods
formatIntl()
Formats a localized message using rules defined by ICU MessageFormat.
public
formatIntl(string $message, string $locale[, array<string|int, mixed> $parameters = [] ]) : string
Parameters
- $message : string
- $locale : string
- $parameters : array<string|int, mixed> = []