Fully Qualified Name: | Zend\Cache\Storage\Adapter\ApcuIterator |
Implements: | IteratorInterface |
Name | Description | Defined By |
---|---|---|
__construct() | Constructor | ApcuIterator |
current() | Get current key, value or metadata. | ApcuIterator |
getMode() | Get iterator mode | ApcuIterator |
getStorage() | Get storage instance | ApcuIterator |
key() | Get current key | ApcuIterator |
next() | Move forward to next element | ApcuIterator |
rewind() | Rewind the Iterator to the first element. | ApcuIterator |
setMode() | Set iterator mode | ApcuIterator |
valid() | Checks if current position is valid | ApcuIterator |
Constructor
Parameter Name | Type | Description |
---|---|---|
$storage | \Apcu | |
$baseIterator | \BaseApcuIterator | |
$prefix | string |
Returns:
Get current key, value or metadata.
Returns: mixed
Get iterator mode
Returns: int Value of IteratorInterface::CURRENT_AS_*
Get storage instance
Returns: \Apcu
Get current key
Returns: string
Move forward to next element
Returns: void
Rewind the Iterator to the first element.
Returns: void
Set iterator mode
Parameter Name | Type | Description |
---|---|---|
$mode | int |
Returns: \ApcuIterator Provides a fluent interface
Checks if current position is valid
Returns: bool