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

public method

Clears all keys from the session.

Parameters

  • array $options

    Options array. Not used for this adapter method.

Returns

\Closure

Function that clears the session

Source

	public function clear(array $options = array()) {
		$session =& $this->_session;

		return function($self, $params) use (&$session) {
			$session = array();
		};
	}