1 | <?php namespace VojtaSvoboda\CodeLogin\Repositories; |
||
7 | class UserRepository |
||
8 | { |
||
9 | /** |
||
10 | * Get all users |
||
11 | * |
||
12 | * @return mixed |
||
13 | */ |
||
14 | public function getAllUsers() |
||
18 | |||
19 | /** |
||
20 | * Returns user by password |
||
21 | * |
||
22 | * @param $password |
||
23 | * |
||
24 | * @return User|null |
||
25 | */ |
||
26 | public function getUserByPassword($password) |
||
46 | } |
||
47 |