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

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

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

Метод Описание
getNamespace ( ) : string | null Gets the namespace to perform the evaluation.
getScopeType ( ) : string | null Gets the scope type to perform the evaluation.
getThis ( ) : object | null Gets the instance bound to $this variable.
getVariableTable ( ) : array Gets a map of values indexed by their respective variable name.
hasNamespace ( ) : boolean Whether the evaluation is performed under a namespace.
hasScopeType ( ) : boolean Whether the evaluation is performed in a class scope.
hasThis ( ) : boolean Whether there is an instance bound to the $this variable.
withVariableTable ( array $variableTable ) : Pinq\Expressions\IEvaluationContext Returns a new evaluation context with the variable value map.

Описание методов

getNamespace() публичный метод

Gets the namespace to perform the evaluation.
public getNamespace ( ) : string | null
Результат string | null

getScopeType() публичный метод

Gets the scope type to perform the evaluation.
public getScopeType ( ) : string | null
Результат string | null

getThis() публичный метод

Gets the instance bound to $this variable.
public getThis ( ) : object | null
Результат object | null

getVariableTable() публичный метод

Gets a map of values indexed by their respective variable name.
public getVariableTable ( ) : array
Результат array

hasNamespace() публичный метод

Whether the evaluation is performed under a namespace.
public hasNamespace ( ) : boolean
Результат boolean

hasScopeType() публичный метод

Whether the evaluation is performed in a class scope.
public hasScopeType ( ) : boolean
Результат boolean

hasThis() публичный метод

Whether there is an instance bound to the $this variable.
public hasThis ( ) : boolean
Результат boolean

withVariableTable() публичный метод

Returns a new evaluation context with the variable value map.
public withVariableTable ( array $variableTable ) : Pinq\Expressions\IEvaluationContext
$variableTable array
Результат Pinq\Expressions\IEvaluationContext