You are here

public function PHPExcel_CachedObjectStorage_DiscISAM::__destruct in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/DiscISAM.php \PHPExcel_CachedObjectStorage_DiscISAM::__destruct()

* Destroy this cell collection

1 call to PHPExcel_CachedObjectStorage_DiscISAM::__destruct()
PHPExcel_CachedObjectStorage_DiscISAM::unsetWorksheetCells in vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/DiscISAM.php
* Clear the cell collection and disconnect from our parent * *

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/DiscISAM.php, line 211

Class

PHPExcel_CachedObjectStorage_DiscISAM
PHPExcel_CachedObjectStorage_DiscISAM

Code

public function __destruct() {
  if (!is_null($this->_fileHandle)) {
    fclose($this->_fileHandle);
    unlink($this->_fileName);
  }
  $this->_fileHandle = null;
}