Skip to content

V::message()

Creates a useful error message for the given validator and the arguments. This is used mainly internally to create error messages

V::message(string $validatorName, mixed $params = null): string|null

Parameters

Name Type Default
$validatorName * string
$params mixed null

Return type

string|null

Parent class

Kirby\Toolkit\V