luguohuakai / cache
simple cache
v1.0.1
2023-11-11 05:33 UTC
Requires
- php: >=7.0
- ext-json: *
- luguohuakai/func: ~1.0.0
This package is not auto-updated.
Last update: 2024-12-10 10:53:21 UTC
README
- 用法举例
// 实例化
$cache = new \luguohuakai\cache\Cache();
// 设置值
$cache->set('key','value', 60);
// 获取值
$cache->get('key');