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

public method

Clears entire cache by flushing it. All cache keys using the configuration but without honoring the scope are removed.

The operation will continue to remove keys even if removing one single key fails, clearing thoroughly as possible. In any case this method will return true.

Returns

boolean

Always returns true.

Source

	public function clear() {
		foreach ($this->_cache as $key => &$value) {
			unset($this->_cache[$key]);
		}
		return true;
	}