You are here

function PHPExcel_Worksheet::__destruct in Loft Data Grids 7.2

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

Code to execute when this worksheet is unset()

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet.php, line 401

Class

PHPExcel_Worksheet
PHPExcel_Worksheet

Code

function __destruct() {
  PHPExcel_Calculation::getInstance($this->_parent)
    ->clearCalculationCacheForWorksheet($this->_title);
  $this
    ->disconnectCells();
}