Fully Qualified Name: | Laminas\Cache\Storage\Adapter\ApcIterator |
Implements: | IteratorInterface |
Name | Description | Defined By |
---|---|---|
__construct() | Constructor | ApcIterator |
current() | Get current key, value or metadata. | ApcIterator |
getMode() | Get iterator mode | ApcIterator |
getStorage() | Get storage instance | ApcIterator |
key() | Get current key | ApcIterator |
next() | Move forward to next element | ApcIterator |
rewind() | Rewind the Iterator to the first element. | ApcIterator |
setMode() | Set iterator mode | ApcIterator |
valid() | Checks if current position is valid | ApcIterator |
Constructor
Parameter Name | Type | Description |
---|---|---|
$storage | \Apc | |
$baseIterator | \BaseApcIterator | |
$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: \Apc
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: \ApcIterator Provides a fluent interface
Checks if current position is valid
Returns: bool