Doctrine\ORM\UnitOfWork::computeChangeSets
Computes all the changes that have been done to entities and collections since the last commit and stores these changes in the _entityChangeSet map temporarily for access by the persisters, until the UoW commit is finished.
Signature
public function computeChangeSets()