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 = []) {
		return function($params) {
			$this->_session = [];
		};
	}