Documentation

ActivityLog extends Model
in package
Uses HasFactory

Table of Contents

$timestamps  : mixed
$casts  : mixed
$dates  : mixed
$guarded  : mixed
$table  : mixed
add()  : void
Add new activity log
getPlaceAttribute()  : mixed
user()  : void
Relationship with user model
boot()  : void
The "booting" method of the model.

Properties

$casts

protected mixed $casts = ['payload' => 'json']

$table

protected mixed $table = "v360_activity_logs"

Methods

add()

Add new activity log

public static add(array<string|int, mixed> $data) : void
Parameters
$data : array<string|int, mixed>
Return values
void

getPlaceAttribute()

public getPlaceAttribute() : mixed
Return values
mixed

user()

Relationship with user model

public user() : void
Return values
void

boot()

The "booting" method of the model.

protected static boot() : void
Return values
void

Search results