PHP Class Pinq\Expressions\EvaluationContext

Author: Elliot Levin ([email protected])
Inheritance: implements Pinq\Expressions\IEvaluationContext
Show file Open project: timetoogo/pinq Class Usage Examples

Protected Properties

Property Type Description
$namespace string | null
$scopeType string | null
$thisObject object | null
$variableTable

Public Methods

Method Description
__construct ( $namespace, $scopeType, $thisObject = null, array $variableTable = [] )
getNamespace ( )
getScopeType ( )
getThis ( )
getVariableTable ( )
globalScope ( object | null $thisObject = null, array $variableTable = [] ) : Pinq\Expressions\IEvaluationContext
hasNamespace ( )
hasScopeType ( )
hasThis ( )
staticContext ( string | null $namespace, string | null $scopeType ) : Pinq\Expressions\IEvaluationContext
withVariableTable ( array $variableTable )

Method Details

__construct() public method

public __construct ( $namespace, $scopeType, $thisObject = null, array $variableTable = [] )
$variableTable array

getNamespace() public method

public getNamespace ( )

getScopeType() public method

public getScopeType ( )

getThis() public method

public getThis ( )

getVariableTable() public method

public getVariableTable ( )

globalScope() public static method

public static globalScope ( object | null $thisObject = null, array $variableTable = [] ) : Pinq\Expressions\IEvaluationContext
$thisObject object | null
$variableTable array
return Pinq\Expressions\IEvaluationContext

hasNamespace() public method

public hasNamespace ( )

hasScopeType() public method

public hasScopeType ( )

hasThis() public method

public hasThis ( )

staticContext() public static method

public static staticContext ( string | null $namespace, string | null $scopeType ) : Pinq\Expressions\IEvaluationContext
$namespace string | null
$scopeType string | null
return Pinq\Expressions\IEvaluationContext

withVariableTable() public method

public withVariableTable ( array $variableTable )
$variableTable array

Property Details

$namespace protected property

protected string|null $namespace
return string | null

$scopeType protected property

protected string|null $scopeType
return string | null

$thisObject protected property

protected object|null $thisObject
return object | null

$variableTable protected property

protected $variableTable