lithium\storage\cache\adapter\File::_delete()
Deletes a file using the corresponding cached item key.
Parameters
-
string
$key
Key to uniquely identify the cached item.
Returns
booleantrue
on success, false
otherwise.
Source
protected function _delete($key) {
$path = "{$this->_config['path']}/{$key}";
return is_readable($path) && is_file($path) && unlink($path);
}