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

clear() public method

Clears all keys from the session.
public clear ( array $options = [] ) : Closure
$options array Options array. Not used for this adapter method.
return Closure Function that clears the session
    public function clear(array $options = array())
    {
        $session =& $this->_session;
        return function ($self, $params) use(&$session) {
            $session = array();
        };
    }