Removing All the Items From the Cache

Problem

You want to completely empty your cache.

Solution

Use the Cache::flush() method.

Cache::flush();

Discussion

Cache drivers implementing cache tags allow tag-based flushing.

Cache::tags('widgets')->flush();
comments powered by Disqus