ok

Mini Shell

Direktori : /home2/selectio/public_html/limpiar.in.net/vendor/maatwebsite/excel/src/
Upload File :
Current File : /home2/selectio/public_html/limpiar.in.net/vendor/maatwebsite/excel/src/SettingsProvider.php

<?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()
        );
    }
}

Zerion Mini Shell 1.0