Zend Framework
3.0
|
Public Member Functions | |
__construct (Apcu $storage, BaseApcuIterator $baseIterator, $prefix) | |
Constructor. | |
getStorage () | |
Get storage instance. | |
getMode () | |
Get iterator mode. | |
setMode ($mode) | |
Set iterator mode. | |
current () | |
Get current key, value or metadata. | |
key () | |
Get current key. | |
next () | |
Move forward to next element. | |
valid () | |
Checks if current position is valid. | |
rewind () | |
Rewind the Iterator to the first element. | |
Protected Attributes | |
$storage | |
$mode = IteratorInterface::CURRENT_AS_KEY | |
$baseIterator | |
$prefixLength | |
Additional Inherited Members | |
Public Attributes inherited from IteratorInterface | |
const | CURRENT_AS_SELF = 0 |
const | CURRENT_AS_KEY = 1 |
const | CURRENT_AS_VALUE = 2 |
const | CURRENT_AS_METADATA = 3 |
__construct | ( | Apcu | $storage, |
BaseApcuIterator | $baseIterator, | ||
$prefix | |||
) |
Constructor.
Apcu | $storage | |
BaseApcuIterator | $baseIterator | |
string | $prefix |
current | ( | ) |
Get current key, value or metadata.
getMode | ( | ) |
Get iterator mode.
Implements IteratorInterface.
getStorage | ( | ) |
key | ( | ) |
Get current key.
next | ( | ) |
Move forward to next element.
rewind | ( | ) |
Rewind the Iterator to the first element.
setMode | ( | $mode | ) |
Set iterator mode.
int | $mode |
Implements IteratorInterface.
valid | ( | ) |
Checks if current position is valid.
|
protected |
|
protected |
|
protected |
|
protected |