Let's suppose I retrieve an entity
$e and modify its state with setters:
Is there any possibility to retrieve an array of fields that have been changed?
In case of my example I'd like to retrieve
foo => a, bar => b as a result
PS: yes, I know I can modify all the accessors and implement this feature manually, but I'm looking for some handy way of doing this