RequirementCollection
in package
implements
Countable, IteratorAggregate
Tags
Table of Contents
Interfaces
- Countable
- IteratorAggregate
Properties
- $requirements : array<string|int, Requirement>
Methods
- 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
count()
public
count() : int
Return values
intgetIterator()
public
getIterator() : RequirementCollectionIterator
Return values
RequirementCollectionIteratorgetRequirements()
public
getRequirements() : array<string|int, Requirement>