PHP Интерфейс Pinq\Parsing\IFunctionScope

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

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

Метод Описание
asEvaluationContext ( array $variableTable = [], string | null $namespace = null ) : Pinq\Expressions\IEvaluationContext Gets an equivalent evaluation context for the function scope.
getScopeType ( ) : string | null Gets the scoped class type (determines which private/protected members are accessible).
getThis ( ) : object | null Gets the scoped $this variable object.
getThisType ( ) : string | null Gets the scoped $this variable type.
getVariableTable ( ) : array Gets an array containing scoped values indexed by their respective variable name.
hasThis ( ) : boolean Whether the function has a scoped $this class.

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

asEvaluationContext() публичный Метод

Gets an equivalent evaluation context for the function scope.
public asEvaluationContext ( array $variableTable = [], string | null $namespace = null ) : Pinq\Expressions\IEvaluationContext
$variableTable array
$namespace string | null
Результат Pinq\Expressions\IEvaluationContext

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

Gets the scoped class type (determines which private/protected members are accessible).
public getScopeType ( ) : string | null
Результат string | null

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

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

getThisType() публичный Метод

Gets the scoped $this variable type.
public getThisType ( ) : string | null
Результат string | null

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

Gets an array containing scoped values indexed by their respective variable name.
public getVariableTable ( ) : array
Результат array

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

Whether the function has a scoped $this class.
public hasThis ( ) : boolean
Результат boolean