示例#1
0
 /**
  * Clears the DocumentManager.
  *
  * All documents that are currently managed by this DocumentManager become
  * detached.
  *
  * @param string|null $documentName if given, only documents of this type will get detached
  */
 public function clear($documentName = null)
 {
     $this->unitOfWork->clear($documentName);
 }