Revisionable
trait Winter\Storm\Database\Traits\Revisionable
Properties
public
$revisionsEnabled
:
bool
= true
Flag for arbitrarily disabling revision history.
Methods
public static bootRevisionable () : void
Boot the revisionable trait for a model.
Returns
void
public getRevisionHistoryName () : string
Get revision history relation name name.
Returns
string
public revisionableAfterDelete ()
Returns
mixed
public revisionableAfterUpdate ()
Returns
mixed
protected revisionableCleanUp ()
Returns
mixed
protected revisionableGetCastType ($attribute)
Parameters
Property | Type | Description |
---|---|---|
$attribute | mixed |
mixed
|
Returns
mixed
protected revisionableGetUser ()
Returns
mixed
← Previous page
Winter\Storm\Database\Traits\Purgeable
Next page →
Winter\Storm\Database\Traits\SimpleTree
Copyright © 2024 Winter CMS