public function removeSubItem($subItemHash) { unset($this->subItems[$subItemHash]); $this->generateHash(); }