lithium\storage\Cache::clear()
Clears entire cache by flushing it. All cache keys - without honoring a configured scope - from the specified configuration are removed.
Parameters
-
string
$name
The cache configuration to be cleared.
Returns
booleantrue
on successful clearing, false
if failed partially or entirely.
Source
public static function clear($name) {
try {
return static::adapter($name)->clear();
} catch (ConfigException $e) {
return false;
}
}