init
This commit is contained in:
commit
72a26edcff
22092 changed files with 2101903 additions and 0 deletions
20
lib/PhpSpreadsheet/Collection/CellsFactory.php
Normal file
20
lib/PhpSpreadsheet/Collection/CellsFactory.php
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
namespace PhpOffice\PhpSpreadsheet\Collection;
|
||||
|
||||
use PhpOffice\PhpSpreadsheet\Settings;
|
||||
use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet;
|
||||
|
||||
abstract class CellsFactory
|
||||
{
|
||||
/**
|
||||
* Initialise the cache storage.
|
||||
*
|
||||
* @param Worksheet $worksheet Enable cell caching for this worksheet
|
||||
*
|
||||
* */
|
||||
public static function getInstance(Worksheet $worksheet): Cells
|
||||
{
|
||||
return new Cells($worksheet, Settings::getCache());
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue