RequirementCollectionIterator
in package
implements
Iterator
Tags
Table of Contents
Interfaces
- Iterator
Properties
- $position : int
- $requirements : array<string|int, Requirement>
Methods
- __construct() : mixed
- current() : Requirement
- key() : int
- next() : void
- rewind() : void
- valid() : bool
Properties
$position
private
int
$position
= 0
$requirements
private
array<string|int, Requirement>
$requirements
Methods
__construct()
public
__construct(RequirementCollection $requirements) : mixed
Parameters
- $requirements : RequirementCollection
current()
public
current() : Requirement
Return values
Requirementkey()
public
key() : int
Return values
intnext()
public
next() : void
rewind()
public
rewind() : void
valid()
public
valid() : bool