RequirementCollection
in package
implements
Countable, IteratorAggregate
Interfaces, Classes, Traits and Enums
- Countable
- IteratorAggregate
Table of Contents
- $requirements : array<string|int, Requirement>
- add() : void
- count() : int
- getIterator() : RequirementCollectionIterator
- getRequirements() : array<string|int, Requirement>
Properties
$requirements
private
array<string|int, Requirement>
$requirements
= []
Methods
add()
public
add(Requirement $requirement) : void
Parameters
- $requirement : Requirement
Return values
void —count()
public
count() : int
Return values
int —getIterator()
public
getIterator() : RequirementCollectionIterator
Return values
RequirementCollectionIterator —getRequirements()
public
getRequirements() : array<string|int, Requirement>