Code highlight in docs for PhpStorm

This commit is contained in:
Adrien Crivelli 2020-05-31 22:41:05 +09:00
parent b9a59660d0
commit dcf3b9860d
No known key found for this signature in database
GPG Key ID: B182FD79DC6DE92E
13 changed files with 258 additions and 258 deletions

View File

@ -56,7 +56,7 @@ the cell object will still retain its data values.
What does this mean? Consider the following code: What does this mean? Consider the following code:
``` ```php
$spreadSheet = new Spreadsheet(); $spreadSheet = new Spreadsheet();
$workSheet = $spreadSheet->getActiveSheet(); $workSheet = $spreadSheet->getActiveSheet();
@ -153,7 +153,7 @@ was a formula.
To do this, you need to "escape" the value by setting it as "quoted text". To do this, you need to "escape" the value by setting it as "quoted text".
``` ```php
// Set cell A4 with a formula // Set cell A4 with a formula
$spreadsheet->getActiveSheet()->setCellValue( $spreadsheet->getActiveSheet()->setCellValue(
'A4', 'A4',

View File

@ -55,7 +55,7 @@ However, there may be times when you don't want this, perhaps you've changed
the underlying data and need to re-evaluate the same formula with that new the underlying data and need to re-evaluate the same formula with that new
data. data.
``` ```php
Calculation::getInstance($spreadsheet)->disableCalculationCache(); Calculation::getInstance($spreadsheet)->disableCalculationCache();
``` ```
@ -63,7 +63,7 @@ Will disable calculation caching, and flush the current calculation cache.
If you want only to flush the cache, then you can call If you want only to flush the cache, then you can call
``` ```php
Calculation::getInstance($spreadsheet)->clearCalculationCache(); Calculation::getInstance($spreadsheet)->clearCalculationCache();
``` ```