/** * Clears the repository, causing all managed entities to become detached. */ public function clear() { $this->xem->clear($this->class->rootXmlEntityName); }