| Total Complexity | 0 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 34 | class User extends Authenticatable |
||
| 35 | { |
||
| 36 | use Notifiable; |
||
|
|
|||
| 37 | |||
| 38 | /** |
||
| 39 | * The attributes that are mass assignable. |
||
| 40 | * |
||
| 41 | * @var array |
||
| 42 | */ |
||
| 43 | protected $fillable |
||
| 44 | = [ |
||
| 45 | 'name', 'email', 'password', |
||
| 46 | ]; |
||
| 47 | |||
| 48 | /** |
||
| 49 | * The attributes that should be hidden for arrays. |
||
| 50 | * |
||
| 51 | * @var array |
||
| 52 | */ |
||
| 53 | protected $hidden |
||
| 54 | = [ |
||
| 55 | 'password', 'remember_token', |
||
| 56 | ]; |
||
| 57 | |||
| 58 | /** |
||
| 59 | * The attributes that should be cast to native types. |
||
| 60 | * |
||
| 61 | * @var array |
||
| 62 | */ |
||
| 63 | protected $casts |
||
| 64 | = [ |
||
| 65 | 'email_verified_at' => 'datetime', |
||
| 66 | ]; |
||
| 68 |