Documentation

Provisioning extends AbstractBaseCrmModel
in package

Tags
todo

Missing softdeletes??

Table of Contents

table  = 'crm__provisionings'
Table name, as constant, used to avoid table name duplication across the source code base.
$activityLogName  : string
$casts  : array<string|int, string>
The attributes that should be casted
$fillable  : array<int, string>
The attributes that are mass assignable.
$jobsEnabled  : bool
This parameter specify if jobs should be launched or not
$table  : string
Table name
getActivitylogOptions()  : LogOptions
Specifies which model properties should be logged in the activy log
saveWithoutJobs()  : mixed
withoutJobs()  : mixed
Executes the callback disabling the jobs launching

Constants

table

Table name, as constant, used to avoid table name duplication across the source code base.

public mixed table = 'crm__provisionings'
Tags
const

string

Properties

$casts

The attributes that should be casted

protected array<string|int, string> $casts = ['context' => 'array']

$fillable

The attributes that are mass assignable.

protected array<int, string> $fillable = ['action', 'status', 'source', 'context']

$jobsEnabled

This parameter specify if jobs should be launched or not

protected bool $jobsEnabled = true

Methods

getActivitylogOptions()

Specifies which model properties should be logged in the activy log

public getActivitylogOptions() : LogOptions
Return values
LogOptions

saveWithoutJobs()

public saveWithoutJobs() : mixed
Return values
mixed

withoutJobs()

Executes the callback disabling the jobs launching

public withoutJobs(callable $callback) : mixed
Parameters
$callback : callable
Return values
mixed

Search results