Documentation

FormValidationFieldError
in package

Used in App\Exception\formValidationException to indicate which fields have failed validation

Table of Contents

$message  : string
The reason for the failed validation
$name  : string
The field name which has failed validation
__construct()  : mixed
getField()  : string
Returns the field name
getMessage()  : string
Returns the reason

Properties

Methods

__construct()

public __construct(string $name, string $message) : mixed
Parameters
$name : string
$message : string
Return values
mixed

Search results