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