PHP 인터페이스 Pinq\Expressions\IEvaluator

저자: Elliot Levin ([email protected])
파일 보기 프로젝트 열기: timetoogo/pinq 0 사용 예제들

공개 메소드들

메소드 설명
evaluate ( array $variableTable = null ) : mixed Evaluates the expression with the supplied variable table and returns the returned value.
evaluateWithNewThis ( object | null $thisObject, array $variableTable = null ) : mixed Evaluates the expression with the supplied variable table and this object and returns the returned value.
getContext ( ) : Pinq\Expressions\IEvaluationContext Gets the evaluation context.
getRequiredVariables ( ) : string[] Gets the required variables for the evaluator.

메소드 상세

evaluate() 공개 메소드

The default variables from the context can be overridden in the first parameter.
public evaluate ( array $variableTable = null ) : mixed
$variableTable array
리턴 mixed

evaluateWithNewThis() 공개 메소드

The default variables from the context can be overridden in the first parameter.
public evaluateWithNewThis ( object | null $thisObject, array $variableTable = null ) : mixed
$thisObject object | null
$variableTable array
리턴 mixed

getContext() 공개 메소드

Gets the evaluation context.
public getContext ( ) : Pinq\Expressions\IEvaluationContext
리턴 Pinq\Expressions\IEvaluationContext

getRequiredVariables() 공개 메소드

Gets the required variables for the evaluator.
public getRequiredVariables ( ) : string[]
리턴 string[]