Pinq\Queries\Builders\ExpressionInterpreter::getArgumentValueAt PHP Method

getArgumentValueAt() final protected method

final protected getArgumentValueAt ( $index, MethodCallExpression $methodExpression )
$methodExpression Pinq\Expressions\MethodCallExpression
    protected final function getArgumentValueAt($index, O\MethodCallExpression $methodExpression)
    {
        $instance = new \stdClass();
        $argument = $this->getOptionalArgumentValueAt($index, $methodExpression, $instance);
        if ($argument === $instance) {
            throw new PinqException('Could not get argument value of method %s at index %d: argument not supplied', $methodExpression->getName()->compileDebug(), $index);
        }
        return $argument;
    }