src/Pagination/PaginatorFactory.php
public function makeCursor(CursorPaginator $paginator): Cursor
    {
        return new Cursor($paginator->cursor(), $paginator->previous(), $paginator->next(), $paginator->get()->count());
    }
public function makeCursor(CursorPaginator $paginator): Cursor
    {
        return new Cursor($paginator->cursor(), $paginator->previous(), $paginator->next(), $paginator->get()->count());
    }
Make a Fractal paginator adapter from a Laravel paginator.

@param  \Flugg\Responder\Pagination\CursorPaginator $paginator
@return \League\Fractal\Pagination\Cursor