I have created an event listener to send email if entity name has updated. My question is, I’d like know what properties have changed (e.g), $entity->getName() = “Jim” became “Jimmy” ?
/!\ I'll detect only changed properties.
public function postUpdate(Entity $entity, LifecycleEventArgs $event): void {
// “Jim”
// Now is “Jimmy”
}
Thanks