Extends
lithium\core\Object
Delete value from the cache
Parameters
- string $key The key to uniquely identify the cached item
Returns
closure Function returning boolean `true` on successful delete, `false` otherwiseSource
public function delete($key) {
return function($self, $params) {
return xcache_unset($params['key']);
};
}