$results
$results : array<mixed,\Pvra\AnalysisResult>
Result instances that are part of this collection
Class Collection
$results : array<mixed,\Pvra\AnalysisResult>
Result instances that are part of this collection
add(\Pvra\AnalysisResult $result, boolean $ignoreIfExists = true) : $this
Add a result to this collection
\Pvra\AnalysisResult | $result | The result to be added |
boolean | $ignoreIfExists | Do not add+override an already existing result with the same targetId. |
remove(string|\Pvra\AnalysisResult $result) : true
Remove a result from the collection
Removes a result, which is identified by its analysis target id from the current collection.
string|\Pvra\AnalysisResult | $result |
has(string|\Pvra\AnalysisResult $result) : boolean
Checks whether a given result is part of this collection
string|\Pvra\AnalysisResult | $result | Analysis target Id or instance of Analysis Result |
getHighestDemandingResult() : null|\Pvra\AnalysisResult
Get the currently highest demanding result
getIterator() : \Traversable|array<mixed,\Pvra\AnalysisResult>
Retrieve an external iterator