first commit

This commit is contained in:
Ariyutta
2026-08-07 10:47:09 +07:00
commit 1c094fbe7f
11630 changed files with 1580900 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
<?php
namespace Maatwebsite\Excel;
use Maatwebsite\Excel\Cache\CacheManager;
use PhpOffice\PhpSpreadsheet\Settings;
class SettingsProvider
{
/**
* @var CacheManager
*/
private $cache;
public function __construct(CacheManager $cache)
{
$this->cache = $cache;
}
/**
* Provide PhpSpreadsheet settings.
*/
public function provide()
{
$this->configureCellCaching();
}
protected function configureCellCaching()
{
Settings::setCache(
$this->cache->driver()
);
}
}