format() public method
Formats a message using yii\i18n\MessageFormatter.
public string format ( $message, $params, $language ) | ||
---|---|---|
$message | string |
The message to be formatted. |
$params | array |
The parameters that will be used to replace the corresponding placeholders in the message. |
$language | string |
The language code (e.g. |
return | string |
The formatted message. |
Please login to continue.