Documentation

User extends User Uses HasApiTokens, HasFactory, Notifiable

Table of Contents

$casts  : array<string|int, mixed>
The attributes that should be cast.
$fillable  : array<string|int, string>
The attributes that are mass assignable.
$hidden  : array<string|int, mixed>
The attributes that should be hidden for serialization.

Properties

$casts

The attributes that should be cast.

protected array<string|int, mixed> $casts = ['email_verified_at' => 'datetime']

$fillable

The attributes that are mass assignable.

protected array<string|int, string> $fillable = ['name', 'email', 'password']

$hidden

The attributes that should be hidden for serialization.

protected array<string|int, mixed> $hidden = ['password', 'remember_token']

Search results