PHP Class Pinq\Expressions\CompiledEvaluator

Author: Elliot Levin ([email protected])
Inheritance: extends Evaluator, implements Serializable
Afficher le fichier Open project: timetoogo/pinq Class Usage Examples

Protected Properties

Свойство Type Description
$boundCompiledEvaluator Closure
$code string
$extraVariables mixed[]
$originalCompiledEvaluator Closure

Méthodes publiques

Méthode Description
fromExpressions ( array $expressions, Pinq\Expressions\IEvaluationContext $context = null ) : CompiledEvaluator Creates a new compiled evaluator from the supplied expressions.
getCode ( ) : string
serialize ( )
unserialize ( $serialized )

Méthodes protégées

Méthode Description
doEvaluation ( array $variableTable )
doEvaluationWithNewThis ( array $variableTable, $newThis )

Private Methods

Méthode Description
initializeEvaluator ( )

Method Details

doEvaluation() protected méthode

protected doEvaluation ( array $variableTable )
$variableTable array

doEvaluationWithNewThis() protected méthode

protected doEvaluationWithNewThis ( array $variableTable, $newThis )
$variableTable array

fromExpressions() public static méthode

Creates a new compiled evaluator from the supplied expressions.
public static fromExpressions ( array $expressions, Pinq\Expressions\IEvaluationContext $context = null ) : CompiledEvaluator
$expressions array
$context Pinq\Expressions\IEvaluationContext
Résultat CompiledEvaluator

getCode() public méthode

public getCode ( ) : string
Résultat string

serialize() public méthode

public serialize ( )

unserialize() public méthode

public unserialize ( $serialized )

Property Details

$boundCompiledEvaluator protected_oe property

protected Closure $boundCompiledEvaluator
Résultat Closure

$code protected_oe property

protected string $code
Résultat string

$extraVariables protected_oe property

protected mixed[] $extraVariables
Résultat mixed[]

$originalCompiledEvaluator protected_oe property

protected Closure $originalCompiledEvaluator
Résultat Closure