Commit 158b8197 authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #1731 from dcelasun/master

Add flushing support to the Redis cache driver
parents 457d0f17 31e21971
......@@ -87,5 +87,15 @@ class Redis extends Driver {
{
$this->redis->del($key);
}
/**
* Flush the entire cache.
*
* @return void
*/
public function flush()
{
$this->redis->flushdb();
}
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment