Mecha CMS

Cache::let()

Delete cache file.

2.2.0Static

Cache::let(void);
Cache::let(string $id);
Cache::let(array $id);

Example:

// Delete all caches
Cache::let();
// Delete single cache
Cache::let('foo');
// Delete multiple cache
Cache::let(['foo', 'bar', 'baz']);