You are here

public function PHPExcel_CachedObjectStorage_PHPTemp::__destruct in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/PHPTemp.php \PHPExcel_CachedObjectStorage_PHPTemp::__destruct()

* Destroy this cell collection

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

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/PHPTemp.php, line 199

Class

PHPExcel_CachedObjectStorage_PHPTemp
PHPExcel_CachedObjectStorage_PHPTemp

Code

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