first commit -> move some files from one-api

This commit is contained in:
2026-05-06 13:37:10 +07:00
parent a3144382c5
commit 55c6ed9779
7940 changed files with 628870 additions and 0 deletions

30
vendor/aws_v3/Aws/Psr16CacheAdapter.php vendored Normal file
View File

@@ -0,0 +1,30 @@
<?php
namespace Aws;
use Psr\SimpleCache\CacheInterface as SimpleCacheInterface;
class Psr16CacheAdapter implements CacheInterface
{
/** @var SimpleCacheInterface */
private $cache;
public function __construct(SimpleCacheInterface $cache)
{
$this->cache = $cache;
}
public function get($key)
{
return $this->cache->get($key);
}
public function set($key, $value, $ttl = 0)
{
$this->cache->set($key, $value, $ttl);
}
public function remove($key)
{
$this->cache->delete($key);
}
}