| Total Complexity | 4 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | class AdminUserRepositoryEloquent |
||
| 25 | extends BaseRepository |
||
| 26 | implements AdminUserRepository |
||
| 27 | { |
||
| 28 | /** |
||
| 29 | * Specify Model class name. |
||
| 30 | * |
||
| 31 | * @return string |
||
| 32 | */ |
||
| 33 | public function model() |
||
| 34 | { |
||
| 35 | return AdminUser::class; |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Specify Validator class name. |
||
| 40 | * |
||
| 41 | * @return mixed |
||
| 42 | */ |
||
| 43 | public function validator() |
||
| 44 | { |
||
| 45 | return AdminUserValidator::class; |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * Specify Presenter class name. |
||
| 50 | * |
||
| 51 | * @return mixed |
||
| 52 | */ |
||
| 53 | public function presenter() |
||
| 54 | { |
||
| 55 | return AdminUserPresenter::class; |
||
| 56 | } |
||
| 57 | |||
| 58 | /** |
||
| 59 | * Boot up the repository, pushing criteria. |
||
| 60 | */ |
||
| 61 | public function boot() |
||
| 64 | } |
||
| 65 | } |
||
| 66 |