lithium\storage\cache\adapter\Memcache::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 (count($keys) > 1) {
return $this->connection->deleteMulti($keys);
}
return $this->connection->delete(current($keys));
}