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

clear() public method

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.
public clear ( ) : boolean
return boolean Always returns `true`.
    public function clear()
    {
        foreach ($this->_cache as $key => &$value) {
            unset($this->_cache[$key]);
        }
        return true;
    }