| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 75% |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class Users extends \Baka\Auth\Models\Users |
||
| 9 | {
|
||
| 10 | use PermissionsTrait; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Initialize method for model. |
||
| 14 | */ |
||
| 15 | 5 | public function initialize() |
|
| 20 | 5 | } |
|
| 21 | |||
| 22 | /** |
||
| 23 | * Returns table name mapped in the model. |
||
| 24 | * |
||
| 25 | * @return string |
||
| 26 | */ |
||
| 27 | 4 | public function getSource(): string |
|
| 28 | {
|
||
| 29 | 4 | return 'users'; |
|
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Get the User key for redis |
||
| 34 | * |
||
| 35 | * @return string |
||
| 36 | */ |
||
| 37 | public function getKey(): string |
||
| 40 | } |
||
| 41 | } |
||
| 42 |