| Total Complexity | 0 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class User extends Authenticatable |
||
| 15 | { |
||
| 16 | use HasApiTokens, HasFactory, Notifiable, |
||
| 17 | Concerns\User\Attribute, |
||
| 18 | Concerns\User\Event, |
||
| 19 | Concerns\User\Relation; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * {@inheritDoc} |
||
| 23 | * |
||
| 24 | * @var array<int, string> |
||
| 25 | */ |
||
| 26 | protected $fillable = [ |
||
| 27 | 'username', |
||
| 28 | 'name', |
||
| 29 | 'email', |
||
| 30 | 'password', |
||
| 31 | ]; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * {@inheritDoc} |
||
| 35 | * |
||
| 36 | * @var array<int, string> |
||
| 37 | */ |
||
| 38 | protected $hidden = [ |
||
| 39 | 'password', |
||
| 40 | 'remember_token', |
||
| 41 | ]; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritDoc} |
||
| 45 | * |
||
| 46 | * @var array<string, string> |
||
| 47 | */ |
||
| 48 | protected $casts = [ |
||
| 49 | 'email_verified_at' => 'datetime', |
||
| 50 | ]; |
||
| 52 |