diff --git a/src/LinguaLeo/Cache/Decorator/HotCacheDecorator.php b/src/LinguaLeo/Cache/Decorator/HotCacheDecorator.php index 0c362ba..93a1dba 100644 --- a/src/LinguaLeo/Cache/Decorator/HotCacheDecorator.php +++ b/src/LinguaLeo/Cache/Decorator/HotCacheDecorator.php @@ -139,6 +139,14 @@ public function flush() return $this->cache->flush(); } + /** + * Flush only hot-cache + */ + public function flushHot() + { + $this->hot = []; + } + /** * {@inheritdoc} */