ameliabooking
/
src
/
Domain
/
Repository
/
Booking
/
Appointment
/
AppointmentRepositoryInterface.php
AppointmentRepositoryInterface.php
6 months ago
CustomerBookingExtraRepositoryInterface.php
6 months ago
AppointmentRepositoryInterface.php
43 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * @copyright © Melograno Ventures. All rights reserved. |
| 5 | * @licence See LICENCE.md for license details. |
| 6 | */ |
| 7 | |
| 8 | namespace AmeliaBooking\Domain\Repository\Booking\Appointment; |
| 9 | |
| 10 | use AmeliaBooking\Domain\Collection\Collection; |
| 11 | use AmeliaBooking\Domain\Repository\BaseRepositoryInterface; |
| 12 | use AmeliaBooking\Infrastructure\Common\Exceptions\QueryExecutionException; |
| 13 | |
| 14 | /** |
| 15 | * Interface AppointmentRepositoryInterface |
| 16 | * |
| 17 | * @package AmeliaBooking\Domain\Repository\Booking\Appointment |
| 18 | */ |
| 19 | interface AppointmentRepositoryInterface extends BaseRepositoryInterface |
| 20 | { |
| 21 | /** |
| 22 | * @return array |
| 23 | */ |
| 24 | public function getCurrentAppointments(); |
| 25 | |
| 26 | /** |
| 27 | * @param Collection $collection |
| 28 | * @param array $providerIds |
| 29 | * @param string $startDateTime |
| 30 | * @param string $endDateTime |
| 31 | * @return void |
| 32 | * @throws QueryExecutionException |
| 33 | */ |
| 34 | public function getFutureAppointments($collection, $providerIds, $startDateTime, $endDateTime); |
| 35 | |
| 36 | /** |
| 37 | * @param array $criteria |
| 38 | * |
| 39 | * @return mixed |
| 40 | */ |
| 41 | public function getFiltered($criteria); |
| 42 | } |
| 43 |