Methods

Constructor

__construct(\Zend\Cache\Storage\Adapter\Filesystem $storage, string $path, string $prefix) 

Parameters

$path

string

$prefix

string

Get current key, value or metadata.

current() : mixed

Returns

mixed

Get iterator mode

getMode() : int

Returns

intValue of IteratorInterface::CURRENT_AS_*

Get current key

key() : string

Returns

string

Rewind the Iterator to the first element.

rewind() : bool

Returns

boolfalse if the operation failed.

Set iterator mode

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

Parameters

$mode

int

Returns

Checks if current position is valid

valid() : bool

Returns

bool

 Properties

 

The GlobIterator instance

$globIterator : \GlobIterator

 

The iterator mode

$mode : int

 

The namespace sprefix

$prefix : string

 

String length of namespace prefix

$prefixLength : int

 

The Filesystem storage instance

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

 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