%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
<?php
namespace DeviceDetector\Cache;
use Psr\SimpleCache\CacheInterface;
class PSR16Bridge implements Cache
{
/**
* @var CacheInterface
*/
private $cache;
/**
* PSR16Bridge constructor.
* @param CacheInterface $cache
*/
public function __construct(CacheInterface $cache)
{
$this->cache = $cache;
}
/**
* @inheritDoc
*/
public function fetch($id)
{
return $this->cache->get($id, false);
}
/**
* @inheritDoc
*/
public function contains($id)
{
return $this->cache->has($id);
}
/**
* @inheritDoc
*/
public function save($id, $data, $lifeTime = 0)
{
return $this->cache->set($id, $data, func_num_args() < 3 ? null : $lifeTime);
}
/**
* @inheritDoc
*/
public function delete($id)
{
return $this->cache->delete($id);
}
/**
* @inheritDoc
*/
public function flushAll()
{
return $this->cache->clear();
}
}