installed plugin W3 Total Cache version 2.3.2

This commit is contained in:
2023-06-05 11:23:16 +00:00
committed by Gitium
parent d9b3c97e40
commit 51ea2ff21c
2730 changed files with 334913 additions and 0 deletions

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