lithium\storage\cache\adapter\File::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) {
		if ($this->_config['scope']) {
			$keys = $this->_addScopePrefix($this->_config['scope'], $keys, '_');
		}
		foreach ($keys as $key) {
			if (!$this->_delete($key)) {
				return false;
			}
		}
		return true;
	}