CustomerRepositoryInterface.php
7 years ago
ProviderRepositoryInterface.php
2 years ago
UserRepositoryInterface.php
7 years ago
ProviderRepositoryInterface.php
29 lines
| 1 | <?php |
| 2 | |
| 3 | namespace AmeliaBooking\Domain\Repository\User; |
| 4 | |
| 5 | use AmeliaBooking\Domain\Repository\BaseRepositoryInterface; |
| 6 | |
| 7 | /** |
| 8 | * Interface ProviderRepositoryInterface |
| 9 | * |
| 10 | * @package AmeliaBooking\Domain\Repository\User |
| 11 | */ |
| 12 | interface ProviderRepositoryInterface extends BaseRepositoryInterface |
| 13 | { |
| 14 | /** |
| 15 | * @param $criteria |
| 16 | * @param int $itemsPerPage |
| 17 | * |
| 18 | * @return mixed |
| 19 | */ |
| 20 | public function getFiltered($criteria, $itemsPerPage); |
| 21 | |
| 22 | /** |
| 23 | * @param $criteria |
| 24 | * |
| 25 | * @return mixed |
| 26 | */ |
| 27 | public function getCount($criteria); |
| 28 | } |
| 29 |