Interface StorageInterface

Summary

Fully Qualified Name: Zend\Authentication\Storage\StorageInterface

Description

Methods

Name Description Defined By
clear() Clears contents from storage StorageInterface
isEmpty() Returns true if and only if storage is empty StorageInterface
read() Returns the contents of storage StorageInterface
write() Writes $contents to storage StorageInterface

Method Details

clear()

Clears contents from storage

Returns: void

isEmpty()

Returns true if and only if storage is empty

Returns: bool

read()

Returns the contents of storage

Behavior is undefined when storage is empty.

Returns: mixed

write()

Writes $contents to storage

Parameter Name Type Description
$contents mixed

Returns: void

Top