MessageFormatter
extends MessageFormatter
in package
implements
MessageFormatterInterface, IntlFormatterInterface
Interfaces, Classes, Traits and Enums
- MessageFormatterInterface
- IntlFormatterInterface
Table of Contents
- format() : mixed
- {@inheritdoc}
- formatIntl() : string
- {@inheritdoc}
- cleanParameters() : bool
- Clean param of a value.
Methods
format()
{@inheritdoc}
public
format(mixed $message, mixed $locale[, array<string|int, mixed> $parameters = [] ]) : mixed
Parameters
- $message : mixed
- $locale : mixed
- $parameters : array<string|int, mixed> = []
Return values
mixed —formatIntl()
{@inheritdoc}
public
formatIntl(string $message, string $locale[, array<string|int, mixed> $parameters = [] ]) : string
Parameters
- $message : string
- $locale : string
- $parameters : array<string|int, mixed> = []
Return values
string —cleanParameters()
Clean param of a value.
private
cleanParameters(mixed $param) : bool
Parameters
- $param : mixed