package Default

 Methods

Constructor

__construct(\Zend\Cache\Storage\Adapter\Dba $storage, resource $handle, string $prefix) 

Parameters

$storage

\Zend\Cache\Storage\Adapter\Dba

$handle

resource

$prefix

string

Get current key, value or metadata.

current() : mixed

Exceptions

\Zend\Cache\Exception\RuntimeException

Returns

mixed

Get iterator mode

getMode() : integer
inherited_from \Zend\Cache\Storage\IteratorInterface::getMode()

Returns

integerValue of IteratorInterface::CURRENT_AS_*

Get storage instance

getStorage() : \Zend\Cache\Storage\Adapter\Dba
inherited_from \Zend\Cache\Storage\IteratorInterface::getStorage()

Returns

\Zend\Cache\Storage\Adapter\Dba

Get current key

key() : string

Exceptions

\Zend\Cache\Exception\RuntimeException

Returns

string

Move forward to next element

next() : void

Exceptions

\Zend\Cache\Exception\RuntimeException

Rewind the Iterator to the first element.

rewind() : void

Exceptions

\Zend\Cache\Exception\RuntimeException

Set iterator mode

setMode(integer $mode) : \Zend\Cache\Storage\Adapter\ApcIterator
inherited_from \Zend\Cache\Storage\IteratorInterface::setMode()

Parameters

$mode

integer

Returns

\Zend\Cache\Storage\Adapter\ApcIteratorFluent interface

Checks if current position is valid

valid() : boolean

Returns

boolean

 Properties

 

The current internal key

$currentInternalKey : string | boolean

Default

 

The dba resource handle

$handle : resource

Default

 

The iterator mode

$mode : integer

Default

\Zend\Cache\Storage\IteratorInterface::CURRENT_AS_KEY
 

The length of the namespace prefix

$prefixLength : integer

Default

 

The apc storage instance

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

Default