DirectoryCollectionIterator
in package
implements
Iterator
FinalYes
Tags
Table of Contents
Interfaces
- Iterator
Properties
- $directories : array<int, Directory>
- $position : int
Methods
- __construct() : mixed
- current() : Directory
- key() : int
- next() : void
- rewind() : void
- valid() : bool
Properties
$directories read-only
private
array<int, Directory>
$directories
$position
private
int
$position
= 0
non-negative-int
Methods
__construct()
public
__construct(DirectoryCollection $directories) : mixed
Parameters
- $directories : DirectoryCollection
current()
public
current() : Directory
Return values
Directorykey()
public
key() : int
Return values
intnext()
public
next() : void
rewind()
public
rewind() : void
valid()
public
valid() : bool