public function createFixedCursorBasedPagination($defaultCursor = null): FixedCursorBasedPagination
    {
        return FixedCursorBasedPagination::fromPaginationQueryParams($this->request->getPagination(), $defaultCursor);
    }
public function createFixedCursorBasedPagination($defaultCursor = null): FixedCursorBasedPagination
    {
        return FixedCursorBasedPagination::fromPaginationQueryParams($this->request->getPagination(), $defaultCursor);
    }
public function createFixedCursorBasedPagination ( $ defaultCursor = null ) : FixedCursorBasedPagination { return FixedCursorBasedPagination :: fromPaginationQueryParams ( $ this -> request -> getPagination ( ) , $ defaultCursor ) ; }
Returns a FixedCursorBasedPagination class in order to be used for cursor-based pagination.

The FixedCursorBasedPagination class stores the value of the "page[cursor]" query parameter if present
or the $defaultCursor otherwise.
@param mixed $defaultCursor
Returns a FixedCursorBasedPagination class in order to be used for cursor - based pagination .