category Zend
package Zend_Auth
subpackage Storage
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

Clears contents from storage

clear() : void

Exceptions

\Zend_Auth_Storage_Exception If clearing contents from storage is impossible

Returns true if and only if storage is empty

isEmpty() : boolean

Exceptions

\Zend_Auth_Storage_Exception If it is impossible to determine whether storage is empty

Returns

boolean

Returns the contents of storage

read() : mixed

Behavior is undefined when storage is empty.

Exceptions

\Zend_Auth_Storage_Exception If reading contents from storage is impossible

Returns

mixed

Writes $contents to storage

write(mixed $contents) : void

Parameters

$contents

mixed

Exceptions

\Zend_Auth_Storage_Exception If writing $contents to storage is impossible