refresh() public method

Refresh the given document by querying the CouchDB to get the current state.
public refresh ( object $document )
$document object
 public function reloadUser(UserInterface $user)
 {
     $this->dm->refresh($user);
 }