PHP Интерфейс Pop\Validator\ValidatorInterface

Автор: Nick Sagona, III ([email protected])
Показать файл Открыть проект

Открытые методы

Метод Описание
getCondition ( ) : boolean Method to get the validator condition
getInput ( ) : mixed Method to get the validator input
getMessage ( ) : boolean Method to get the validator default message
getValue ( ) : mixed Method to get the validator value
setCondition ( boolean $condition ) : Validator Method to set the validator condition
setInput ( mixed $input ) : Validator Method to set the validator input
setMessage ( string $message ) : Validator Method to set the validator default message
setValue ( mixed $value ) : Validator Method to set the validator value

Описание методов

getCondition() публичный метод

Method to get the validator condition
public getCondition ( ) : boolean
Результат boolean

getInput() публичный метод

Method to get the validator input
public getInput ( ) : mixed
Результат mixed

getMessage() публичный метод

Method to get the validator default message
public getMessage ( ) : boolean
Результат boolean

getValue() публичный метод

Method to get the validator value
public getValue ( ) : mixed
Результат mixed

setCondition() публичный метод

Method to set the validator condition
public setCondition ( boolean $condition ) : Validator
$condition boolean
Результат Validator

setInput() публичный метод

Method to set the validator input
public setInput ( mixed $input ) : Validator
$input mixed
Результат Validator

setMessage() публичный метод

Method to set the validator default message
public setMessage ( string $message ) : Validator
$message string
Результат Validator

setValue() публичный метод

Method to set the validator value
public setValue ( mixed $value ) : Validator
$value mixed
Результат Validator