update
This commit is contained in:
21
vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Collection/CellsFactory.php
vendored
Normal file
21
vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Collection/CellsFactory.php
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace PhpOffice\PhpSpreadsheet\Collection;
|
||||
|
||||
use PhpOffice\PhpSpreadsheet\Settings;
|
||||
use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet;
|
||||
|
||||
abstract class CellsFactory
|
||||
{
|
||||
/**
|
||||
* Initialise the cache storage.
|
||||
*
|
||||
* @param Worksheet $parent Enable cell caching for this worksheet
|
||||
*
|
||||
* @return Cells
|
||||
* */
|
||||
public static function getInstance(Worksheet $parent)
|
||||
{
|
||||
return new Cells($parent, Settings::getCache());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user