| Total Complexity | 0 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class User extends Authenticatable |
||
| 12 | { |
||
| 13 | use UserMethod, |
||
|
|
|||
| 14 | Notifiable, |
||
| 15 | HasApiTokens, |
||
| 16 | UserAttribute; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * The attributes that are mass assignable. |
||
| 20 | * |
||
| 21 | * @var array |
||
| 22 | */ |
||
| 23 | protected $fillable = [ |
||
| 24 | 'name', 'email', 'password', |
||
| 25 | ]; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * The attributes that should be hidden for arrays. |
||
| 29 | * |
||
| 30 | * @var array |
||
| 31 | */ |
||
| 32 | protected $hidden = [ |
||
| 33 | 'password', 'remember_token', |
||
| 34 | ]; |
||
| 36 |