src/Pagination/CursorStrategy.php
protected function query($query)
    {
        return new CursorBuilder(
            $query,
            $this->column,
            $this->identifier,
            $this->descending
        );
    }
protected function query($query)
    {
        return new CursorBuilder(
            $query,
            $this->column,
            $this->identifier,
            $this->descending
        );
    }
Create a new cursor query.

@param $query
@return CursorBuilder