Table of Contents
Methods
-
__construct()
: mixed
-
addValidationalError()
: array<string|int, mixed>
-
convertValidationError()
: ValidationalErrorInterface
-
formatMessage()
: string
__construct()
public
__construct(string $message_format, RuleInterface $rule) : mixed
Parameters
-
$message_format
: string
-
-
$rule
: RuleInterface
-
addValidationalError()
public
addValidationalError(array<string|int, mixed> $exceptions, string $input_key) : array<string|int, mixed>
Parameters
-
$exceptions
: array<string|int, mixed>
-
-
$input_key
: string
-
Return values
array<string|int, mixed>
convertValidationError()
public
convertValidationError(string $input_key[, string|null $label = null ][, string|null $description = null ]) : ValidationalErrorInterface
Parameters
-
$input_key
: string
-
-
$label
: string|null
= null
-
-
$description
: string|null
= null
-
protected
formatMessage(string $error, array<string|int, mixed> $placeholders) : string
Parameters
-
$error
: string
-
-
$placeholders
: array<string|int, mixed>
-