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