/** * Delete a cell in cache identified by coordinate address * * @param string $pCoord Coordinate address of the cell to delete * @throws \PHPExcel\Exception */ public function deleteCacheData($pCoord) { if ($pCoord === $this->currentObjectID && !is_null($this->currentObject)) { $this->currentObject->detach(); $this->currentObjectID = $this->currentObject = null; } if (is_object($this->cellCache[$pCoord])) { $this->cellCache[$pCoord]->detach(); unset($this->cellCache[$pCoord]); } $this->currentCellIsDirty = false; }