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