tp6-cache
github.com/yiovo/tp6-cache
Homepage
pkg:composer/yiovo/tp6-cache
Installs: 5 217
Dependents: 1
Suggesters: 0
Stars: 0
Open Issues: 0
Advisories: 0
Aikido package health analysis
Requires
Requires (Dev)
None
Suggests
Provides
Conflicts
Replaces
Apache-2.0 bf07a37fad9a4f2d5236e76e48a6e357867f8616
This package is auto-updated.
Last update: 2026-03-18 09:22:39 UTC
thinkphp6 缓存类 (二次开发版)
Cache::ttl(string $name) 获取缓存剩余有效期(秒)
Cache::ttl(string $name)
Cache::update(string $name, $newVal, bool $isMerge = true) 更新缓存内容 (该方法区别于set方法,set方法不支持更新内容同时保留缓存剩余有效期)
Cache::update(string $name, $newVal, bool $isMerge = true)