Skip to content

Commit

Permalink
feat: add pagination interface for repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
lotyp committed Jun 5, 2023
1 parent ce03058 commit c88d44f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/PaginationManager.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

declare(strict_types=1);

namespace WayOfDev\Paginator;

interface PaginationManager
{
public function paginate(int $perPage = 20, int $page = 1, string $pageName = 'page'): CyclePaginator;
}

0 comments on commit c88d44f

Please sign in to comment.