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 |