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