Extends
lithium\core\Object
Delete value from the cache.
Parameters
- string $key The key to uniquely identify the cached item.
Returns
closure Function returning `true` on successful delete, `false` otherwise.Source
public function delete($key) {
$connection =& $this->connection;
return function($self, $params) use (&$connection) {
return $connection->delete($params['key']);
};
}