You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yanzong/vendor/yiovo/tp6-cache
wanghousheng 8c41c84c32 1 10 months ago
..
src 1 10 months ago
.gitignore 1 10 months ago
LICENSE 1 10 months ago
README.md 1 10 months ago
composer.json 1 10 months ago

README.md

tp6-cache

thinkphp6 缓存类 (二次开发版)

新增方法:

Cache::ttl(string $name) 获取缓存剩余有效期(秒)

Cache::update(string $name, $newVal, bool $isMerge = true) 更新缓存内容 (该方法区别于set方法,set方法不支持更新内容同时保留缓存剩余有效期)