Method | Description | |
---|---|---|
__construct ( object $entity, |
||
getEntityChangeSet ( ) | ||
getNewValue ( string $field ) : mixed | Get the new value of the changeset of the changed field. | |
getOldValue ( string $field ) : mixed | Get the old value of the changeset of the changed field. | |
hasChangedField ( $field ) : boolean | Field has a changeset? | |
setNewValue ( string $field, mixed $value ) | Set the new value of this field. |
Method | Description | |
---|---|---|
assertValidField ( $field ) |
public __construct ( object $entity, |
||
$entity | object | |
$xem | ||
$changeSet | array |
public getNewValue ( string $field ) : mixed | ||
$field | string | |
return | mixed |
public getOldValue ( string $field ) : mixed | ||
$field | string | |
return | mixed |
public hasChangedField ( $field ) : boolean | ||
return | boolean |
public setNewValue ( string $field, mixed $value ) | ||
$field | string | |
$value | mixed |