Methods
Constructor
__construct(\Zend\Cache\Storage\StorageInterface $storage, array $keys)
Count number of items
count() : int
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
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
Number of keys
$count : int
Keys to iterate over
$keys : string[]
The iterator mode
$mode : int
Current iterator position
$position : 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 |