Zend\Cache\Storage\IteratorInterface
Synopsis
interface IteratorInterface
extends Iterator
{
- // constants
- const CURRENT_AS_SELF = 0;
- const CURRENT_AS_KEY = 1;
- const CURRENT_AS_VALUE = 2;
- const CURRENT_AS_METADATA = 3;
- // methods
- public StorageInterface getStorage()
- public int getMode()
- public IteratorInterface setMode()
- // Inherited methods from Iterator
- public mixed current()
- public scalar key()
- public void next()
- public void rewind()
- public boolean valid()
Hierarchy
Extends
Implemented by
Constants
Name | Value |
---|---|
CURRENT_AS_SELF | 0 |
CURRENT_AS_KEY | 1 |
CURRENT_AS_VALUE | 2 |
CURRENT_AS_METADATA | 3 |
Methods
public
- getMode() — Get iterator mode
- getStorage() — Get storage instance
- setMode() — Set iterator mode