27. Class

27.1. Zend\Cache\Storage\Adapter\FilesystemIterator

27.1.1. Methods

27.1.1.1. __construct

__construct()

Constructor

Parameters:
  • Filesystem
  • string
  • string

27.1.1.2. getStorage

getStorage()

Get storage instance

Return type:Filesystem

27.1.1.3. getMode

getMode()

Get iterator mode

Return type:int Value of IteratorInterface::CURRENT_AS_*

27.1.1.4. setMode

setMode()

Set iterator mode

Parameters:int
Return type:ApcIterator Fluent interface

27.1.1.5. current

current()

Get current key, value or metadata.

Return type:mixed

27.1.1.6. key

key()

Get current key

Return type:string

27.1.1.8. valid

valid()

Checks if current position is valid

Return type:bool

27.1.1.9. rewind

rewind()

Rewind the Iterator to the first element.

Return type:void