public function createFixedPageBasedPagination(int $defaultPage = 0): FixedPageBasedPagination
    {
        return FixedPageBasedPagination::fromPaginationQueryParams($this->request->getPagination(), $defaultPage);
    }
public function createFixedPageBasedPagination(int $defaultPage = 0): FixedPageBasedPagination
    {
        return FixedPageBasedPagination::fromPaginationQueryParams($this->request->getPagination(), $defaultPage);
    }
public function createFixedPageBasedPagination ( int $ defaultPage = 0 ) : FixedPageBasedPagination { return FixedPageBasedPagination :: fromPaginationQueryParams ( $ this -> request -> getPagination ( ) , $ defaultPage ) ; }
Returns a FixedPageBasedPagination class in order to be used for fixed page-based pagination.

The FixedPageBasedPagination class stores the value of the "page[number]" query parameter if present
or the $defaultPage otherwise.
Returns a FixedPageBasedPagination class in order to be used for fixed page - based pagination .