PHP Interface Pop\Validator\ValidatorInterface

Author: Nick Sagona, III ([email protected])
显示文件 Open project: nicksagona/PopPHP

Public Methods

Method Description
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

Method Details

getCondition() public method

Method to get the validator condition
public getCondition ( ) : boolean
return boolean

getInput() public method

Method to get the validator input
public getInput ( ) : mixed
return mixed

getMessage() public method

Method to get the validator default message
public getMessage ( ) : boolean
return boolean

getValue() public method

Method to get the validator value
public getValue ( ) : mixed
return mixed

setCondition() public method

Method to set the validator condition
public setCondition ( boolean $condition ) : Validator
$condition boolean
return Validator

setInput() public method

Method to set the validator input
public setInput ( mixed $input ) : Validator
$input mixed
return Validator

setMessage() public method

Method to set the validator default message
public setMessage ( string $message ) : Validator
$message string
return Validator

setValue() public method

Method to set the validator value
public setValue ( mixed $value ) : Validator
$value mixed
return Validator