Skip to content

Commit

Permalink
Add flushHot method
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmrcv committed Apr 27, 2016
1 parent 6e0ee8e commit af7d771
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/LinguaLeo/Cache/Decorator/HotCacheDecorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,14 @@ public function flush()
return $this->cache->flush();
}

/**
* Flush only hot-cache
*/
public function flushHot()
{
$this->hot = [];
}

/**
* {@inheritdoc}
*/
Expand Down

0 comments on commit af7d771

Please sign in to comment.