Pinq\Expressions\EvaluationContext::__construct PHP Method

__construct() public method

public __construct ( $namespace, $scopeType, $thisObject = null, array $variableTable = [] )
$variableTable array
    public function __construct($namespace, $scopeType, $thisObject = null, array $variableTable = [])
    {
        $this->namespace = $namespace;
        $this->scopeType = $scopeType;
        $this->thisObject = $thisObject;
        $this->variableTable = $variableTable;
        if (array_key_exists('this', $this->variableTable)) {
            throw new PinqException('Cannot create %s: invalid variable table, \'this\' variable is disallowed (use $thisObject constructor argument instead).', get_class($this));
        }
    }