ValidatorInterface
in
Validator interface
Tags
Table of Contents
Methods
- evaluate() : bool
- Evaluate
- getInput() : mixed
- Get the validator input
- getMessage() : string|null
- Get the validator default message
- getResults() : mixed
- Get the validator results
- getValue() : mixed
- Get the validator value
- hasResults() : bool
- Has validator results
- setInput() : ValidatorInterface
- Set the validator input
- setMessage() : ValidatorInterface
- Set the validator default message
- setValue() : ValidatorInterface
- Set the validator value
Methods
evaluate()
Evaluate
public
evaluate([mixed $input = null ]) : bool
Parameters
- $input : mixed = null
Return values
boolgetInput()
Get the validator input
public
getInput() : mixed
getMessage()
Get the validator default message
public
getMessage() : string|null
Return values
string|nullgetResults()
Get the validator results
public
getResults() : mixed
getValue()
Get the validator value
public
getValue() : mixed
hasResults()
Has validator results
public
hasResults() : bool
Return values
boolsetInput()
Set the validator input
public
setInput([mixed $input = null ]) : ValidatorInterface
Parameters
- $input : mixed = null
Return values
ValidatorInterfacesetMessage()
Set the validator default message
public
setMessage([string|null $message = null ]) : ValidatorInterface
Parameters
- $message : string|null = null
Return values
ValidatorInterfacesetValue()
Set the validator value
public
setValue(mixed $value) : ValidatorInterface
Parameters
- $value : mixed