MessageFormatterInterface
in
Tags
Table of Contents
- format() : string
- Formats a localized message pattern with given arguments.
Methods
format()
Formats a localized message pattern with given arguments.
public
format(string $message, string $locale[, array<string|int, mixed> $parameters = [] ]) : string
Parameters
- $message : string
-
The message (may also be an object that can be cast to string)
- $locale : string
-
The message locale
- $parameters : array<string|int, mixed> = []
-
An array of parameters for the message