CategoryRepositoryInterface.php
7 years ago
ExtraRepositoryInterface.php
5 years ago
ServiceRepositoryInterface.php
6 years ago
ServiceRepositoryInterface.php
34 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @copyright © TMS-Plugins. All rights reserved. |
| 4 | * @licence See LICENCE.md for license details. |
| 5 | */ |
| 6 | |
| 7 | namespace AmeliaBooking\Domain\Repository\Bookable\Service; |
| 8 | |
| 9 | use AmeliaBooking\Domain\Collection\Collection; |
| 10 | use AmeliaBooking\Domain\Repository\BaseRepositoryInterface; |
| 11 | |
| 12 | /** |
| 13 | * Interface ServiceRepositoryInterface |
| 14 | * |
| 15 | * @package AmeliaBooking\Domain\Repository\Bookable\Service |
| 16 | */ |
| 17 | interface ServiceRepositoryInterface extends BaseRepositoryInterface |
| 18 | { |
| 19 | /** |
| 20 | * @param $serviceId |
| 21 | * @param $userId |
| 22 | * |
| 23 | * @return Collection |
| 24 | */ |
| 25 | public function getProviderServicesWithExtras($serviceId, $userId); |
| 26 | |
| 27 | /** |
| 28 | * @param $serviceId |
| 29 | * |
| 30 | * @return mixed |
| 31 | */ |
| 32 | public function getByIdWithExtras($serviceId); |
| 33 | } |
| 34 |