| Methods |
public
|
__construct(
object $entity,
EntityManagerInterface $em,
array<string, array{mixed, mixed}|PersistentCollection> &$changeSet,
)
|
#
|
public
|
getEntityChangeSet(): mixed[][]
Retrieves entity changeset.
Retrieves entity changeset.
|
#
|
public
|
hasChangedField(string $field): bool
Checks if field has a changeset.
Checks if field has a changeset.
|
#
|
public
|
getOldValue(string $field): mixed
Gets the old value of the changeset of the changed field.
Gets the old value of the changeset of the changed field.
|
#
|
public
|
getNewValue(string $field): mixed
Gets the new value of the changeset of the changed field.
Gets the new value of the changeset of the changed field.
|
#
|
public
|
setNewValue(string $field, mixed $value): void
Sets the new value of this field.
Sets the new value of this field.
|
#
|
private
|
assertValidField(string $field): void
Asserts the field exists in changeset.
Asserts the field exists in changeset.
Throws
|
#
|