public function scheduleRemove($document) { $visited = array(); $this->doRemove($document, $visited); }
public function remove($object) { $this->unitOfWork->scheduleRemove($object); }