| Total Complexity | 3 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Coverage | 88.89% |
| 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() |
|
| 33 | ); |
||
| 34 | 5 | } |
|
| 35 | |||
| 36 | /** |
||
| 37 | * Returns table name mapped in the model. |
||
| 38 | * |
||
| 39 | * @return string |
||
| 40 | */ |
||
| 41 | 4 | public function getSource(): string |
|
| 42 | {
|
||
| 43 | 4 | return 'users'; |
|
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Get the User key for redis |
||
| 48 | * |
||
| 49 | * @return string |
||
| 50 | */ |
||
| 51 | public function getKey(): string |
||
| 54 | } |
||
| 55 | } |
||
| 56 |