PHP Интерфейс pinq\expressions\IEvaluator

Автор: Elliot Levin ([email protected])
Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
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[]