How to detect updated fields with Doctrine
php web database Development composer symfony howto doctrineReading time: 1 minute, 0 seconds

In development, when you updates records in database through a form, it's very interesting to known what have changed and what have not changed.
If you use Doctrine with entities, these informations are easily to determined. For instance with an user
entity :
$uow = $this->em->getUnitO...