You are here

public function PHPExcel_CachedObjectStorage_Memcache::__destruct in Loft Data Grids 7.2

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

* Destroy this cell collection

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

Class

PHPExcel_CachedObjectStorage_Memcache
PHPExcel_CachedObjectStorage_Memcache

Code

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