Extends
lithium\core\Object
Delete value from the cache.
This adapter method supports multi-key deletes. By specifynig `$key` as an
array of key names, this adapter method will attempt to remove these keys
from the user space cache.
Parameters
- string|array $key The key to uniquely identify the cached item.
Returns
closure Function returning `true` on successful delete, `false` otherwise.Source
public function delete($key) {
return function($self, $params) {
return apc_delete($params['key']);
};
}