PHP Class Pinq\Providers\DSL\Compilation\Parameters\ExpressionParameter

Author: Elliot Levin ([email protected])
Inheritance: extends QueryParameterBase
Mostrar archivo Open project: timetoogo/pinq Class Usage Examples

Protected Properties

Property Type Description
$contextFactory Pinq\Queries\Functions\FunctionEvaluationContextFactory | null
$evaluator Pinq\Expressions\IEvaluator

Public Methods

Method Description
__construct ( Expression $expression, Pinq\Providers\DSL\Compilation\Parameters\IParameterHasher $hasher, Pinq\Queries\Functions\IFunction $function = null, $data = null )
doEvaluate ( Pinq\Queries\IResolvedParameterRegistry $parameters )
getEvaluator ( ) : Pinq\Expressions\IEvaluator

Method Details

__construct() public method

public __construct ( Expression $expression, Pinq\Providers\DSL\Compilation\Parameters\IParameterHasher $hasher, Pinq\Queries\Functions\IFunction $function = null, $data = null )
$expression Pinq\Expressions\Expression
$hasher Pinq\Providers\DSL\Compilation\Parameters\IParameterHasher
$function Pinq\Queries\Functions\IFunction

doEvaluate() public method

public doEvaluate ( Pinq\Queries\IResolvedParameterRegistry $parameters )
$parameters Pinq\Queries\IResolvedParameterRegistry

getEvaluator() public method

public getEvaluator ( ) : Pinq\Expressions\IEvaluator
return Pinq\Expressions\IEvaluator

Property Details

$contextFactory protected_oe property

protected FunctionEvaluationContextFactory,Pinq\Queries\Functions|null $contextFactory
return Pinq\Queries\Functions\FunctionEvaluationContextFactory | null

$evaluator protected_oe property

protected IEvaluator,Pinq\Expressions $evaluator
return Pinq\Expressions\IEvaluator