AuthorCollectionIterator
in package
implements
Iterator
Table of Contents
Interfaces
- Iterator
Properties
Methods
Properties
$authors
private
array<string|int, Author>
$authors
$position
private
int
$position
= 0
Methods
__construct()
public
__construct(AuthorCollection $authors) : mixed
Parameters
- $authors : AuthorCollection
current()
public
current() : Author
Return values
Authorkey()
public
key() : int
Return values
intnext()
public
next() : void
rewind()
public
rewind() : void
valid()
public
valid() : bool