__construct()
add()
clear()
isEmpty()
read()
write()
$storageChain
__construct()
add(\Zend\Authentication\Storage\StorageInterface $storage, int $priority)
clear() : void
see | \Zend\Authentication\Storage\StorageInterface::clear() |
---|
\Zend\Authentication\Exception\ExceptionInterface |
If clearing contents from storage is impossible |
---|
isEmpty() : bool
If such storage is not found, then this chain storage itself is empty.
In case a non-empty storage is found then this chain storage is also non-empty. Report that, but also make sure that all storage with higher priorty that are empty are filled.
see | \Zend\Authentication\Storage\StorageInterface::isEmpty() |
---|
\Zend\Authentication\Exception\ExceptionInterface |
If it is impossible to determine whether storage is empty |
---|
bool
read() : mixed
Return its value.
see | \Zend\Authentication\Storage\StorageInterface::read() |
---|
\Zend\Authentication\Exception\ExceptionInterface |
If reading contents from storage is impossible |
---|
mixed
write(mixed $contents) : void
see | \Zend\Authentication\Storage\StorageInterface::write() |
---|
mixed
\Zend\Authentication\Exception\ExceptionInterface |
If writing $contents to storage is impossible |
---|
$storageChain : \Zend\Stdlib\PriorityQueue
A storage placed in the priority queue with a higher priority is always used before using a storage with a lower priority.