/home/sharedstore/public_html/prestashop.sharedstore.ma/src/Adapter/Cache
Edit: /home/sharedstore/public_html/prestashop.sharedstore.ma/src/Adapter/Cache/CacheAdapter.php (1683B)
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
*/
namespace PrestaShop\PrestaShop\Adapter\Cache;
use Cache;
/**
* Adapter for generic cache methods.
*/
class CacheAdapter
{
/**
* @param string $key
* @param string $value
*/
public function store($key, $value)
{
return Cache::store($key, $value);
}
/**
* @param string $key
*
* @return mixed
*/
public function retrieve($key)
{
return Cache::retrieve($key);
}
/**
* @param string $key
*
* @return bool
*/
public function isStored($key)
{
return Cache::isStored($key);
}
}