package Default

 Methods

Constructor

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

Parameters

$storage

\Zend\Cache\Storage\Adapter\Filesystem

$path

string

$prefix

string

Get current key, value or metadata.

current() : mixed

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\Filesystem
inherited_from \Zend\Cache\Storage\IteratorInterface::getStorage()

Returns

\Zend\Cache\Storage\Adapter\Filesystem

Get current key

key() : string

Returns

string

Move forward to next element

next() : void

Rewind the Iterator to the first element.

rewind() : boolean

Returns

booleanfalse if the operation failed.

Set iterator mode

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

Parameters

$mode

integer

Returns

\Zend\Cache\Storage\Adapter\FilesystemIteratorFluent interface

Checks if current position is valid

valid() : boolean

Returns

boolean

 Properties

 

The GlobIterator instance

$globIterator : \GlobIterator

Default

 

The iterator mode

$mode : integer

Default

\Zend\Cache\Storage\IteratorInterface::CURRENT_AS_KEY
 

The namespace sprefix

$prefix : string

Default

 

String length of namespace prefix

$prefixLength : integer

Default

 

The Filesystem storage instance

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

Default