extends |
Model |
|---|
One position of a change — the change of one #[Audited]
model under its head {@see ChangeLog}. Append-only: an entry is written once and never changed or deleted.
old and new carry the listed fields as objects keyed by attribute; which of them is null tells the
event — create (old null), update (both), delete (new null).
| Methods | ||
|---|---|---|
public
|
change(): BelongsTo<ChangeLog, $this>
|
# |
| Properties | |||
|---|---|---|---|
public
|
|
$timestamps = false
|
# |
public
|
int
|
$id
|
# |
public
|
int
|
$change_log_id
|
# |
public
|
string
|
$subject_type
|
# |
public
|
string
|
$subject_key
|
# |
public
|
array<string, mixed>|null
|
$old
|
# |
public
|
array<string, mixed>|null
|
$new
|
# |