diff --git a/vendor/topthink/framework/src/think/facade/Cache.php b/vendor/topthink/framework/src/think/facade/Cache.php index 84e52a9..4924a5e 100644 --- a/vendor/topthink/framework/src/think/facade/Cache.php +++ b/vendor/topthink/framework/src/think/facade/Cache.php @@ -28,6 +28,7 @@ use think\Facade; * @method static mixed get(string $key, mixed $default = null) 读取缓存 * @method static bool set(string $key, mixed $value, int|\DateInterval|\DateTimeInterface $ttl = null) 写入缓存 * @method static bool delete(string $key) 删除缓存 + * @method static bool rm(string $name) static 删除缓存 * @method static iterable getMultiple(iterable $keys, mixed $default = null) 读取缓存 * @method static bool setMultiple(iterable $values, null|int|\DateInterval|\DateTimeInterface $ttl = null) 写入缓存 * @method static bool deleteMultiple(iterable $keys) 删除缓存