final |
|---|
readonly |
One position a model yields itself, through {@see HasAuditPositionsInterface}.
It records the subject's value as a whole, not field by field: old and new both set read as a change, new
alone as a create, old alone as a delete. The subject is named the way a transport finds it again — by its
table and its stable code, not by a row's id.
| Methods | ||
|---|---|---|
public
|
__construct(string $subjectType, string $subjectKey, mixed $old, mixed $new)
|
# |
| Properties | |||
|---|---|---|---|
public
|
string
|
$subjectType
|
# |
public
|
string
|
$subjectKey
|
# |
public
|
mixed
|
$old
|
# |
public
|
mixed
|
$new
|
# |