Documentation

User extends User
in package
Uses Notifiable, AdministratorTrait, MediableTrait, ProfileableTrait, JoinableTrait, HasPreferencesTraits

Table of Contents

$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.
getHidden()  : mixed
getLogoutAttribute()  : mixed
getNactivitiesAttribute()  : mixed
getThumbAttribute()  : mixed
isAdmin()  : mixed
log()  : mixed
medias()  : mixed
notifications()  : mixed
preference()  : mixed
preferences()  : mixed
roles()  : mixed
rynotifications()  : mixed
sendPasswordResetNotification()  : mixed
thumbnail()  : mixed
unseenNotifications()  : mixed

Properties

$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 = ['name', 'email', 'password', 'guard']

$hidden

The attributes that should be hidden for arrays.

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

Methods

getLogoutAttribute()

public getLogoutAttribute() : mixed
Return values
mixed

getNactivitiesAttribute()

public getNactivitiesAttribute() : mixed
Return values
mixed

getThumbAttribute()

public getThumbAttribute() : mixed
Return values
mixed

log()

public log([mixed $activity = [] ]) : mixed
Parameters
$activity : mixed = []
Return values
mixed

notifications()

public notifications() : mixed
Return values
mixed

sendPasswordResetNotification()

public sendPasswordResetNotification(mixed $token) : mixed
Parameters
$token : mixed
Return values
mixed

thumbnail()

public thumbnail() : mixed
Return values
mixed

unseenNotifications()

public unseenNotifications() : mixed
Return values
mixed

Search results