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