lithium\storage\cache\adapter\Memory::delete PHP Method

delete() public method

Will attempt to remove specified keys from the user space cache.
public delete ( array $keys ) : boolean
$keys array Keys to uniquely identify the cached items.
return boolean `true` on successful delete, `false` otherwise.
    public function delete(array $keys)
    {
        foreach ($keys as $key) {
            if (!isset($this->_cache[$key])) {
                return false;
            }
            unset($this->_cache[$key]);
        }
        return true;
    }