Documentation

ModuleUserType extends Pivot

Table of Contents

$timestamps  : mixed
$fillable  : array<string|int, mixed>
The attributes that are mass assignable.
$guarded  : array<string|int, mixed>
The attributes that are not mass assignable.
$hidden  : array<string|int, mixed>
The attributes that should be hidden for arrays.
$table  : string
The table associated with the model.
$with  : array<string|int, mixed>
The extra attributes that should be showed for arrays.
module()  : mixed
Get the module of the item.
user_type()  : mixed
Get the user of the item.

Properties

$fillable

The attributes that are mass assignable.

protected array<string|int, mixed> $fillable = []

$guarded

The attributes that are not mass assignable.

protected array<string|int, mixed> $guarded = []

$hidden

The attributes that should be hidden for arrays.

protected array<string|int, mixed> $hidden = ["module_id", "user_type_id"]

$table

The table associated with the model.

protected string $table = "modules_user_types"

$with

The extra attributes that should be showed for arrays.

protected array<string|int, mixed> $with = ['pivot']

Methods

module()

Get the module of the item.

public module() : mixed
Return values
mixed

user_type()

Get the user of the item.

public user_type() : mixed
Return values
mixed

Search results