Pinq\Queries\Builders\QueryInterpreter::__construct PHP Method

__construct() public method

public __construct ( $idPrefix, Pinq\Queries\Builders\IScopeInterpreter $scopeInterpreter, Pinq\Expressions\IEvaluationContext $evaluationContext = null )
$scopeInterpreter Pinq\Queries\Builders\IScopeInterpreter
$evaluationContext Pinq\Expressions\IEvaluationContext
    public function __construct($idPrefix, IScopeInterpreter $scopeInterpreter, O\IEvaluationContext $evaluationContext = null)
    {
        parent::__construct($idPrefix, $evaluationContext);
        $this->scopeInterpreter = $scopeInterpreter;
    }

Usage Example

 public function __construct(IOperationInterpretation $interpretation, IScopeInterpreter $scopeInterpreter, O\IEvaluationContext $evaluationContext = null)
 {
     parent::__construct('operation', $scopeInterpreter, $evaluationContext);
     $this->interpretation = $interpretation;
 }