diff -r 000000000000 -r 4eba9c11703f web/Zend/Auth/Storage/NonPersistent.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/Zend/Auth/Storage/NonPersistent.php Mon Dec 13 18:29:26 2010 +0100 @@ -0,0 +1,95 @@ +_data); + } + + /** + * Returns the contents of storage + * Behavior is undefined when storage is empty. + * + * @throws Zend_Auth_Storage_Exception If reading contents from storage is impossible + * @return mixed + */ + public function read() + { + return $this->_data; + } + + /** + * Writes $contents to storage + * + * @param mixed $contents + * @throws Zend_Auth_Storage_Exception If writing $contents to storage is impossible + * @return void + */ + public function write($contents) + { + $this->_data = $contents; + } + + /** + * Clears contents from storage + * + * @throws Zend_Auth_Storage_Exception If clearing contents from storage is impossible + * @return void + */ + public function clear() + { + $this->_data = null; + } +}