<?php
namespace Claromentis\Core\Filesystem;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"] ?: 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);
    }
}