23. Class

23.1. Zend\Cache\Storage\Adapter\DbaIterator

23.1.1. Methods

23.1.1.1. __construct

__construct()

Constructor

Parameters:
  • Dba
  • resource
  • string

23.1.1.2. getStorage

getStorage()

Get storage instance

Return type:Dba

23.1.1.3. getMode

getMode()

Get iterator mode

Return type:int Value of IteratorInterface::CURRENT_AS_*

23.1.1.4. setMode

setMode()

Set iterator mode

Parameters:int
Return type:ApcIterator Fluent interface

23.1.1.5. current

current()

Get current key, value or metadata.

Return type:mixed
Throws :ExceptionRuntimeException

23.1.1.6. key

key()

Get current key

Return type:string
Throws :ExceptionRuntimeException

23.1.1.8. valid

valid()

Checks if current position is valid

Return type:bool

23.1.1.9. rewind

rewind()

Rewind the Iterator to the first element.

Return type:void
Throws :ExceptionRuntimeException