Pinq\QueryBuilder::newMethod PHP Method

newMethod() protected method

protected newMethod ( string $name, array $arguments = [] ) : MethodCallExpression
$name string
$arguments array
return Pinq\Expressions\MethodCallExpression
    protected function newMethod($name, array $arguments = [])
    {
        return O\Expression::methodCall($this->expression, O\Expression::value($name), array_map([O\Expression::getType(), 'argument'], array_map([O\Expression::getType(), 'value'], $arguments)));
    }