ActivityLogMongo
extends Model
in package
Table of Contents
- $timestamps : mixed
- $collection : mixed
- $connection : mixed
- $dates : mixed
- $guarded : mixed
- add() : void
- Add new activity log
- getPlaceAttribute() : mixed
- user() : void
- Relationship with user model
- boot() : void
- The "booting" method of the model.
Properties
$timestamps
public
mixed
$timestamps
= false
$collection
protected
mixed
$collection
= "v360_activity_logs"
$connection
protected
mixed
$connection
= 'mongodb'
$dates
protected
mixed
$dates
= ['created_at']
$guarded
protected
mixed
$guarded
= ['id', 'created_at']
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