Methods
Constructor
__construct(\Zend\Cache\Storage\Adapter\Dba $storage, resource $handle, string $prefix)
Parameters
$handle
resource
$prefix
string
Get current key, value or metadata.
current() : mixed
Get iterator mode
getMode() : int
Returns
int
Value of IteratorInterface::CURRENT_AS_*
Get current key
key() : string
Exceptions
Returns
string
Move forward to next element
next() : void
Rewind the Iterator to the first element.
rewind() : void
Checks if current position is valid
valid() : bool
Properties
The current internal key
$currentInternalKey : string | bool
The dba resource handle
$handle : resource
The iterator mode
$mode : int
The length of the namespace prefix
$prefixLength : int
Constants
CURRENT_AS_KEY
CURRENT_AS_KEY
Inherited
inherited_from |
\Zend\Cache\Storage\IteratorInterface::CURRENT_AS_KEY |
CURRENT_AS_SELF
CURRENT_AS_SELF
Inherited
inherited_from |
\Zend\Cache\Storage\IteratorInterface::CURRENT_AS_SELF |
CURRENT_AS_VALUE
CURRENT_AS_VALUE
Inherited
inherited_from |
\Zend\Cache\Storage\IteratorInterface::CURRENT_AS_VALUE |