LMongo\Query\Cursor::__call PHP Method

__call() public method

Route the original MongoCursor method
public __call ( string $method, array $arguments ) : mixed
$method string
$arguments array
return mixed
    public function __call($method, $arguments)
    {
        $return = call_user_func_array(array($this->cursor, $method), $arguments);
        if ($return instanceof MongoCursor) {
            return $this;
        }
        return $return;
    }