public function reset() { $this->changedNodes = array(); $this->scheduledNodeEventUpdates = array(); $this->currentlyAdopting = false; $this->currentlyCopying = false; $this->currentNodeAddEvents = array(); }