Doctrine\ORM\UnitOfWork::computeSingleEntityChangeSet
Only flush the given entity according to a ruleset that keeps the UoW consistent.
1. All entities scheduled for insertion, (orphan) removals and changes in collections are processed as well! 2. Read Only entities are skipped. 3. Proxies are skipped. 4. Only if entity is properly managed.
Signature
Parameters
$entity
— object
Returns
- void