Skip to content

Pagination utility adjustments

James Walker requested to merge pagination-changes into master
  • PaginationParameter moved to Ardeidae\Flight\Pagination namespace.
  • PaginatableProperties trait added to Ardeidae\App namespace; when used in an object, it provides a method that constructs a PaginationParameter from the object's Limit/Page properties (that should be typed appropriately) - intended for use in situations such as receiving a request that contains scalar values that will be used to paginate a query.
Edited by James Walker

Merge request reports

Loading