_data); } /** * Returns the contents of storage * * Behavior is undefined when storage is empty. * * @throws Zend_Http_UserAgent_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_Http_UserAgent_Storage_Exception If writing $contents to storage is impossible * @return void */ public function write($contents) { $this->_data = $contents; } /** * Clears contents from storage * * @throws Zend_Http_UserAgent_Storage_Exception If clearing contents from storage is impossible * @return void */ public function clear() { $this->_data = null; } }