PHP Class Pinq\Parsing\FunctionScope

Author: Elliot Levin ([email protected])
Inheritance: implements Pinq\Parsing\IFunctionScope
Afficher le fichier Open project: timetoogo/pinq

Protected Properties

Свойство Type Description
$scopeType string | null
$thisObject object | null
$thisType string | null
$variableValueMap

Méthodes publiques

Méthode Description
__construct ( $thisObject, $scopeType, array $variableValueMap )
asEvaluationContext ( array $variableTable = [], $namespace = null )
fromReflection ( ReflectionFunctionAbstract $reflection, callable $callable ) : self Creates a function scope instance from the supplied reflection and callable.
getScopeType ( )
getThis ( )
getThisType ( )
getVariableTable ( )
hasThis ( )

Method Details

__construct() public méthode

public __construct ( $thisObject, $scopeType, array $variableValueMap )
$variableValueMap array

asEvaluationContext() public méthode

public asEvaluationContext ( array $variableTable = [], $namespace = null )
$variableTable array

fromReflection() public static méthode

Creates a function scope instance from the supplied reflection and callable.
public static fromReflection ( ReflectionFunctionAbstract $reflection, callable $callable ) : self
$reflection ReflectionFunctionAbstract
$callable callable
Résultat self

getScopeType() public méthode

public getScopeType ( )

getThis() public méthode

public getThis ( )

getThisType() public méthode

public getThisType ( )

getVariableTable() public méthode

public getVariableTable ( )

hasThis() public méthode

public hasThis ( )

Property Details

$scopeType protected_oe property

protected string|null $scopeType
Résultat string | null

$thisObject protected_oe property

protected object|null $thisObject
Résultat object | null

$thisType protected_oe property

protected string|null $thisType
Résultat string | null

$variableValueMap protected_oe property

protected $variableValueMap