Pinq\Expressions\Evaluator::__construct PHP Method

__construct() protected method

protected __construct ( Pinq\Expressions\IEvaluationContext $context = null )
$context Pinq\Expressions\IEvaluationContext
    protected function __construct(IEvaluationContext $context = null)
    {
        $this->context = $context ?: EvaluationContext::globalScope();
        $this->requiredVariables = array_keys($this->context->getVariableTable());
    }