/** * Flush the calculation cache for any existing instance of this class * but only if a PHPExcel_Calculation instance exists * * @access public * @return null */ public static function flushInstance() { if (isset(self::$_instance) && self::$_instance !== NULL) { self::$_instance->clearCalculationCache(); } }
/** * Flush the calculation cache for any existing instance of this class * but only if a PHPExcel_Calculation instance exists * * @access public * @return null */ public static function flushInstance() { if (isset(self::$_instance) && !is_null(self::$_instance)) { self::$_instance->clearCalculationCache(); } }