Reference

Guide

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 Description
$validatorName string
$params mixed null

Return type

string|null

Source code

kirby/src/Toolkit/V.php#L55