<?php
namespace Claromentis\Core\Filesystem;

$GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"] ?: array()) + array();
use ClaCache;
use League\Flysystem\Cached\Storage\AbstractCache;
class ClaCacheStore extends AbstractCache
{
    
    
    
    
    
    
    const FLYSYSTEM_CACHE_KEY = "FLYSYSTEM_CACHE_";
    
    
    
    
    protected string $name;
    public function __construct(string $name)
    {
        $this->name = $name;
    }
    
    
    
    
    public function load()
    {
        $_d34599daeb8cca374d3adb38b245839c = ClaCache::GetGlobal(self::FLYSYSTEM_CACHE_KEY . $this->name);
        $this->setFromStorage($_d34599daeb8cca374d3adb38b245839c);
    }
    
    
    
    
    public function save()
    {
        $_d34599daeb8cca374d3adb38b245839c = $this->getForStorage();
        ClaCache::SetGlobal(self::FLYSYSTEM_CACHE_KEY . $this->name, $_d34599daeb8cca374d3adb38b245839c);
    }
}