LocationRepositoryInterface.php
36 lines
| 1 | <?php |
| 2 | |
| 3 | namespace AmeliaBooking\Domain\Repository\Location; |
| 4 | |
| 5 | use AmeliaBooking\Domain\Repository\BaseRepositoryInterface; |
| 6 | |
| 7 | /** |
| 8 | * Interface LocationRepositoryInterface |
| 9 | * |
| 10 | * @package AmeliaBooking\Domain\Repository\Location |
| 11 | */ |
| 12 | interface LocationRepositoryInterface extends BaseRepositoryInterface |
| 13 | { |
| 14 | /** |
| 15 | * @param $criteria |
| 16 | * @param $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 | /** |
| 30 | * @param $locationId |
| 31 | * |
| 32 | * @return mixed |
| 33 | */ |
| 34 | public function getServicesById($locationId); |
| 35 | } |
| 36 |