melder/vendor/PhpSpreadsheet/Collection/CellsFactory.php

22 lines
465 B
PHP
Raw Permalink Normal View History

2024-02-16 15:35:01 +01:00
<?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());
}
}