PHP 인터페이스 Pinq\Parsing\IFunctionScope

저자: Elliot Levin ([email protected])
파일 보기 프로젝트 열기: timetoogo/pinq

공개 메소드들

메소드 설명
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