RequirementCollectionIterator
in package
implements
Iterator
Interfaces, Classes, Traits and Enums
- Iterator
Table of Contents
- $position : int
- $requirements : array<string|int, Requirement>
- __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
Return values
mixed —current()
public
current() : Requirement
Return values
Requirement —key()
public
key() : int
Return values
int —next()
public
next() : void
Return values
void —rewind()
public
rewind() : void
Return values
void —valid()
public
valid() : bool