IteratorInterface
extends
Iterator
in
Table of Contents
- CURRENT_AS_KEY = 1
- CURRENT_AS_METADATA = 3
- CURRENT_AS_SELF = 0
- CURRENT_AS_VALUE = 2
- getMode() : int
- Get iterator mode
- getStorage() : StorageInterface
- Get storage instance
- setMode() : IteratorInterface
- Set iterator mode
Constants
CURRENT_AS_KEY
public
mixed
CURRENT_AS_KEY
= 1
CURRENT_AS_METADATA
public
mixed
CURRENT_AS_METADATA
= 3
CURRENT_AS_SELF
public
mixed
CURRENT_AS_SELF
= 0
CURRENT_AS_VALUE
public
mixed
CURRENT_AS_VALUE
= 2
Methods
getMode()
Get iterator mode
public
getMode() : int
Return values
int —Value of IteratorInterface::CURRENT_AS_*
getStorage()
Get storage instance
public
getStorage() : StorageInterface
Return values
StorageInterface —setMode()
Set iterator mode
public
setMode(int $mode) : IteratorInterface
Parameters
- $mode : int
-
Value of IteratorInterface::CURRENT_AS_*
Return values
IteratorInterface —Fluent interface