Doctrine\ORM\UnitOfWork::doRefresh
Executes a refresh operation on an entity.
Signature
Parameters
$entity
— object- The entity to refresh.
$visited
— array- The already visited entities during cascades.
Errors/Exceptions
-
ORMInvalidArgumentException
- If the entity is not MANAGED.