Total Complexity | 2 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Coverage | 66.67% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
17 | class Users extends \Nip\Records\RecordManager implements UserRepositoryInterface |
||
18 | { |
||
19 | 1 | use SingletonTrait; |
|
20 | 1 | use UsersTrait; |
|
21 | |||
22 | /** |
||
23 | * Get a user entity. |
||
24 | * |
||
25 | * @param string $username |
||
26 | * @param string $password |
||
27 | * @param string $grantType The grant type used |
||
28 | * @param ClientEntityInterface $clientEntity |
||
29 | * |
||
30 | * @return UserEntityInterface |
||
31 | */ |
||
32 | public function getUserEntityByUserCredentials( |
||
33 | $username, |
||
34 | $password, |
||
35 | $grantType, |
||
36 | ClientEntityInterface $clientEntity |
||
37 | ) { |
||
38 | // TODO: Implement getUserEntityByUserCredentials() method. |
||
39 | } |
||
40 | |||
41 | /** @noinspection PhpMissingParentCallCommonInspection |
||
42 | * @inheritDoc |
||
43 | */ |
||
44 | 1 | protected function generateTable() |
|
47 | } |
||
48 | } |
||
49 |