stevenbuehner/temporary-cache-service
Composer 安装命令:
composer require stevenbuehner/temporary-cache-service
包简介
Small service that provides the ability to temporarily cache data
README 文档
README
A small Service to temporarily cache data.
It offers the functions:
/**
* @param bool $key
*/
public function hasCache($key;
/**
* @param mixed $key
* @return mixed
* @throws CacheKeyDoesNotExistException
*/
public function getCache($key);
/**
* @param mixed $key
* @param mixed $value
* @return mixed $value
*/
public function setCache($key, $value);
/**
* Clears the cache of the given key if it does exist
* @param mixed $key
*/
public function clearCache($key);
统计信息
- 总下载量: 20
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-04-14