Skip to content

Instantly share code, notes, and snippets.

@quangpd
Created March 2, 2022 04:53
Show Gist options
  • Save quangpd/5eae977a15ef52de4be74a2eaee1b173 to your computer and use it in GitHub Desktop.
Save quangpd/5eae977a15ef52de4be74a2eaee1b173 to your computer and use it in GitHub Desktop.
PhpSpreadsheet - Disable Formula Cached
use \PhpOffice\PhpSpreadsheet\Calculation\Calculation;
Calculation::getInstance($spreadsheet)->disableCalculationCache();
Calculation::getInstance()->setCalculationCacheEnabled(FALSE);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment