Свойство | Тип | Описание | |
---|---|---|---|
$messageParameters | array | The parameters that should be substituted in the message template | |
$messagePluralization | integer | null | The value for error message pluralization | |
$messageTemplate | string | The template for the error message |
Метод | Описание | |
---|---|---|
__construct ( string $messageTemplate, array $messageParameters = [], integer | null $messagePluralization = null ) | Constructor | |
getMessage ( ) : string | Returns the error message | |
getMessageParameters ( ) : array | Returns the parameters to be inserted in the message template | |
getMessagePluralization ( ) : integer | null | Returns the value for error message pluralization. | |
getMessageTemplate ( ) : string | Returns the error message template |
public __construct ( string $messageTemplate, array $messageParameters = [], integer | null $messagePluralization = null ) | ||
$messageTemplate | string | The template for the error message |
$messageParameters | array | The parameters that should be substituted in the message template. |
$messagePluralization | integer | null | The value for error message pluralization |
public getMessage ( ) : string | ||
Результат | string |
public getMessageParameters ( ) : array | ||
Результат | array |
public getMessagePluralization ( ) : integer | null | ||
Результат | integer | null |
public getMessageTemplate ( ) : string | ||
Результат | string |
protected array $messageParameters | ||
Результат | array |
protected string $messageTemplate | ||
Результат | string |