lithium\storage\cache\adapter\Memory::delete()

public method

Will attempt to remove specified keys from the user space cache.

Parameters

  • array $keys

    Keys to uniquely identify the cached items.

Returns

boolean

true on successful delete, false otherwise.

Source

	public function delete(array $keys) {
		foreach ($keys as $key) {
			if (!isset($this->_cache[$key])) {
				return false;
			}
			unset($this->_cache[$key]);
		}
		return true;
	}