You are here

public function PHPExcel_CachedObjectStorage_APC::__destruct in Loft Data Grids 6.2

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

Destroy this cell collection

3 calls to PHPExcel_CachedObjectStorage_APC::__destruct()
PHPExcel_CachedObjectStorage_APC::copyCellCollection in vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/APC.php
Clone the cell collection
PHPExcel_CachedObjectStorage_APC::unsetWorksheetCells in vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/APC.php
Clear the cell collection and disconnect from our parent
PHPExcel_CachedObjectStorage_APC::_storeData in vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/APC.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/APC.php, line 270

Class

PHPExcel_CachedObjectStorage_APC
PHPExcel_CachedObjectStorage_APC

Code

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