+ [refac] add method to clear cache.

This commit is contained in:
liugang
2024-11-20 15:42:49 +08:00
committed by 朱金勇
parent 4a01690b1e
commit 0637346f85
+12
View File
@@ -865,4 +865,16 @@ class cache
$this->reset();
}
/**
* 清空缓存。
* Clear cache.
*
* @access public
* @return void
*/
public function clear
{
$this->cache->clear();
}
}