User
extends User
in package
implements
HasApiTokens
Uses
UsesUUID, HasApiTokens, Notifiable, HasRoles, HasPermissions, RefreshesPermissionCache, HasFactory
Interfaces, Classes, Traits and Enums
- HasApiTokens
Table of Contents
- $appends : mixed
- $casts : array<string|int, mixed>
- The attributes that should be cast to native types.
- $fillable : array<string|int, mixed>
- The attributes that are mass assignable.
- $hidden : array<string|int, mixed>
- The attributes that should be hidden for arrays.
- getIncrementing() : mixed
- getKeyType() : mixed
- uploads() : mixed
- bootUsesUuid() : mixed
- isAdmin() : Attribute
Properties
$appends
protected
mixed
$appends
= ['is_admin']
$casts
The attributes that should be cast to native types.
protected
array<string|int, mixed>
$casts
= ['email_verified_at' => 'datetime']
$fillable
The attributes that are mass assignable.
protected
array<string|int, mixed>
$fillable
= ['username', 'email', 'password', 'api_token']
$hidden
The attributes that should be hidden for arrays.
protected
array<string|int, mixed>
$hidden
= ['password', 'remember_token', 'api_token']
Methods
getIncrementing()
public
getIncrementing() : mixed
Return values
mixed —getKeyType()
public
getKeyType() : mixed
Return values
mixed —uploads()
public
uploads() : mixed
Return values
mixed —bootUsesUuid()
protected
static bootUsesUuid() : mixed
Return values
mixed —isAdmin()
protected
isAdmin() : Attribute