LengthAwarePaginator.php 553 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace Illuminate\Contracts\Pagination;
  3. interface LengthAwarePaginator extends Paginator
  4. {
  5. /**
  6. * Create a range of pagination URLs.
  7. *
  8. * @param int $start
  9. * @param int $end
  10. * @return array
  11. */
  12. public function getUrlRange($start, $end);
  13. /**
  14. * Determine the total number of items in the data store.
  15. *
  16. * @return int
  17. */
  18. public function total();
  19. /**
  20. * Get the page number of the last available page.
  21. *
  22. * @return int
  23. */
  24. public function lastPage();
  25. }