Methods

Constructor

__construct(\Zend\Cache\Storage\Adapter\Apc $storage, \APCIterator $baseIterator, string $prefix) 

Parameters

$baseIterator

\APCIterator

$prefix

string

Get current key, value or metadata.

current() : mixed

Returns

mixed

Get iterator mode

getMode() : int

Returns

intValue of IteratorInterface::CURRENT_AS_*

Get storage instance

getStorage() : \Zend\Cache\Storage\Adapter\Apc

Get current key

key() : string

Returns

string

Rewind the Iterator to the first element.

rewind() : void

Set iterator mode

setMode(int $mode) : \Zend\Cache\Storage\Adapter\ApcIterator

Parameters

$mode

int

Returns

Checks if current position is valid

valid() : bool

Returns

bool

 Properties

 

The base APCIterator instance

$baseIterator : \APCIterator

 

The iterator mode

$mode : int

 

The length of the namespace prefix

$prefixLength : int

 

The apc storage instance

$storage : \Zend\Cache\Storage\Adapter\Apc

 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