UserMessage
UserMessage.
A user-viewable message, consisting of a message string or message token, and zero or more parameters for the message. Parameters can be used, for example, to fill in placeholders in dynamically generated messages.
Tags
Table of Contents
$message | string | |
---|---|---|
$parameters | array | |
__construct() | Public constructor. | mixed |
Properties
$message
public
string
$message
$parameters
public
array
$parameters
= []
Methods
__construct()
Public constructor.
public
__construct(
$message :
string
[, $parameters :
array
= [] ]
)
: mixed
Parameters
- $message : string
- $parameters : array = []
The parameters to be filled in for any placeholders in the message.