Extends
lithium\core\Adaptable
Perform garbage collection on specified cache configuration.
This method is not filterable.
Parameters
- string $name The cache configuration to be cleaned
Returns
boolean True on successful clean, false otherwiseSource
public static function clean($name) {
$settings = static::config();
return (isset($settings[$name])) ? static::adapter($name)->clean() : false;
}