\Pop\ValidatorValidatorInterface

Validator interface

Summary

Methods
Constants
getValue()
getMessage()
getInput()
setValue()
setMessage()
setInput()
evaluate()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

getValue()

getValue() : mixed

Get the validator value

Returns

mixed

getMessage()

getMessage() : boolean

Get the validator default message

Returns

boolean

getInput()

getInput() : mixed

Get the validator input

Returns

mixed

setMessage()

setMessage(string  $msg = null) : \Pop\Validator\AbstractValidator

Set the validator default message

Parameters

string $msg

Returns

\Pop\Validator\AbstractValidator

setInput()

setInput(mixed  $input = null) : \Pop\Validator\AbstractValidator

Set the validator input

Parameters

mixed $input

Returns

\Pop\Validator\AbstractValidator

evaluate()

evaluate(mixed  $input = null) : boolean

Evaluate

Parameters

mixed $input

Returns

boolean