Total Complexity | 3 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
6 | class Users extends \Baka\Auth\Models\Users |
||
7 | { |
||
8 | /** |
||
9 | * Initialize method for model. |
||
10 | */ |
||
11 | public function initialize() |
||
16 | } |
||
17 | |||
18 | /** |
||
19 | * Returns table name mapped in the model. |
||
20 | * |
||
21 | * @return string |
||
22 | */ |
||
23 | public function getSource(): string |
||
24 | { |
||
25 | return 'users'; |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * Get the User key for redis |
||
30 | * |
||
31 | * @return string |
||
32 | */ |
||
33 | public function getKey(): string |
||
36 | } |
||
37 | } |
||
38 |