PHP Class LeanMapper\FilteringResult

Author: Vojtěch Kohout
Show file Open project: tharos/leanmapper

Public Methods

Method Description
__construct ( Result $result, Closure $validationFunction = null )
getResult ( ) : Result
getValidationFunction ( ) : Closure
hasValidationFunction ( ) : boolean

Method Details

__construct() public method

public __construct ( Result $result, Closure $validationFunction = null )
$result Result
$validationFunction Closure

getResult() public method

public getResult ( ) : Result
return Result

getValidationFunction() public method

public getValidationFunction ( ) : Closure
return Closure

hasValidationFunction() public method

public hasValidationFunction ( ) : boolean
return boolean