EventCollectionIterator
in package
implements
Iterator
FinalYes
Tags
Table of Contents
Interfaces
- Iterator
Properties
Methods
Properties
$events read-only
private
array<string|int, mixed>
$events
Tags
$position
private
int
$position
= 0
Methods
__construct()
public
__construct(EventCollection $events) : mixed
Parameters
- $events : EventCollection
current()
public
current() : Event
Return values
Eventkey()
public
key() : int
Return values
intnext()
public
next() : void
rewind()
public
rewind() : void
valid()
public
valid() : bool