/**
  * Refreshes the persistent state of an object from the database,
  * overriding any local changes that have not yet been persisted.
  *
  * @param object $object The object to refresh.
  */
 public function refresh($object)
 {
     $this->unitOfWork->refresh($object);
 }