You are here

public function PHPExcel_CachedObjectStorage_Wincache::__destruct in Loft Data Grids 6.2

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

* Destroy this cell collection

3 calls to PHPExcel_CachedObjectStorage_Wincache::__destruct()
PHPExcel_CachedObjectStorage_Wincache::copyCellCollection in vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/Wincache.php
* Clone the cell collection * *
PHPExcel_CachedObjectStorage_Wincache::unsetWorksheetCells in vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/Wincache.php
* Clear the cell collection and disconnect from our parent * *
PHPExcel_CachedObjectStorage_Wincache::_storeData in vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/Wincache.php
Store cell data in cache for the current cell object if it's "dirty", and the 'nullify' the current cell object

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/Wincache.php, line 272

Class

PHPExcel_CachedObjectStorage_Wincache
PHPExcel_CachedObjectStorage_Wincache

Code

public function __destruct() {
  $cacheList = $this
    ->getCellList();
  foreach ($cacheList as $cellID) {
    wincache_ucache_delete($this->_cachePrefix . $cellID . '.cache');
  }
}