lithium\storage\cache\adapter\File::delete()
Implements
lithium\storage\cache\Adapter::delete()
Will attempt to remove specified keys from the user space cache.
Parameters
-
array
$keys
Keys to uniquely identify the cached items.
Returns
booleantrue
on successful delete, false
otherwise.
Source
public function delete(array $keys) {
if ($this->_config['scope']) {
$keys = $this->_addScopePrefix($this->_config['scope'], $keys, '_');
}
foreach ($keys as $key) {
if (!$this->_delete($key)) {
return false;
}
}
return true;
}