public function removeSheet($index) { $this->checkIndexParameter($index); unset($this->sheetCollection[$index]); $this->sheetCollection = array_values($this->sheetCollection); return $this; }