Methods

Clears contents from storage

clear() : void

Exceptions

\Zend\Authentication\Exception\ExceptionInterface If clearing contents from storage is impossible

Returns true if and only if storage is empty

isEmpty() : bool

Exceptions

\Zend\Authentication\Exception\ExceptionInterface If it is impossible to determine whether storage is empty

Returns

bool

Returns the contents of storage

read() : mixed

Behavior is undefined when storage is empty.

Exceptions

\Zend\Authentication\Exception\ExceptionInterface If reading contents from storage is impossible

Returns

mixed

Writes $contents to storage

write(mixed $contents) : void

Parameters

$contents

mixed

Exceptions

\Zend\Authentication\Exception\ExceptionInterface If writing $contents to storage is impossible