| Total Complexity | 0 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 4 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 10 | class ApiUser extends Authenticatable implements MustVerifyEmail |
||
| 11 | { |
||
| 12 | use HasApiTokens; |
||
| 13 | use InheritsRelationsFromParentModel; |
||
|
|
|||
| 14 | |||
| 15 | protected $table = 'users'; |
||
| 16 | protected $guarded = ['c_password']; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * The attributes that should be hidden for arrays. |
||
| 20 | * |
||
| 21 | * @var array |
||
| 22 | */ |
||
| 23 | protected $hidden = [ |
||
| 24 | 'password', 'remember_token', |
||
| 25 | ]; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * The attributes that should be cast to native types. |
||
| 29 | * lslsls. |
||
| 30 | * @var array |
||
| 31 | */ |
||
| 32 | protected $casts = [ |
||
| 33 | 'email_verified_at' => 'datetime', |
||
| 34 | ]; |
||
| 36 |