Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 3.128.168.176
Current Path : /var/www/oasis/aws/Aws/ |
| Current File : //var/www/oasis/aws/Aws/Psr16CacheAdapter.php |
<?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);
}
}
|