Documentation

User extends Model implements Authenticatable, Authorizable Uses Authenticatable, Authorizable, HasFactory

Interfaces, Classes and Traits

Authenticatable
Authorizable

Table of Contents

$fillable  : array<string|int, string>
The attributes that are mass assignable.
$hidden  : array<string|int, string>
The attributes excluded from the model's JSON form.
messages()  : hasMany
Get the messages that belong to this user.
newsKeywords()  : hasMany
Get the new's related keywords that belong to this user.
reviews()  : hasMany
Get the senior places that belong to this user.
seniorPlaces()  : hasMany
Get the senior places that belong to this user.

Properties

$fillable

The attributes that are mass assignable.

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

$hidden

The attributes excluded from the model's JSON form.

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

Methods

messages()

Get the messages that belong to this user.

public messages() : hasMany
Return values
hasMany

newsKeywords()

Get the new's related keywords that belong to this user.

public newsKeywords() : hasMany
Return values
hasMany

reviews()

Get the senior places that belong to this user.

public reviews() : hasMany
Return values
hasMany

seniorPlaces()

Get the senior places that belong to this user.

public seniorPlaces() : hasMany
Return values
hasMany

Search results