Pinq\Providers\DSL\Compilation\Parameters\ExpressionParameter::doEvaluate PHP Méthode

doEvaluate() public méthode

public doEvaluate ( Pinq\Queries\IResolvedParameterRegistry $parameters )
$parameters Pinq\Queries\IResolvedParameterRegistry
    public function doEvaluate(IResolvedParameterRegistry $parameters)
    {
        if ($this->contextFactory === null) {
            return $this->evaluator->evaluate();
        }
        $resolvedContext = $this->contextFactory->getEvaluationContext($parameters);
        return $this->evaluator->evaluateWithNewThis($resolvedContext->getThis(), $resolvedContext->getVariableTable());
    }