Documentation

Validator
in package

Table of Contents

$form  : Form
$message  : mixed
form()  : Form
Returns with the assigned form
message()  : string
The message after validation
setForm()  : void
Assigns a form to this validator
validate()  : mixed

Properties

Methods

message()

The message after validation

public message() : string
Return values
string

setForm()

Assigns a form to this validator

public setForm(Form $form) : void
Parameters
$form : Form
Return values
void

validate()

public abstract validate(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

Search results