Documentation

ComplexityCollection
in package
implements Countable, IteratorAggregate

Read onlyYes
FinalYes
Tags
template-implements
psalm-immutable

Table of Contents

Interfaces

Countable
IteratorAggregate

Properties

$items  : array<int, Complexity>

Methods

asArray()  : array<int, Complexity>
count()  : int
cyclomaticComplexity()  : int
fromList()  : self
getIterator()  : ComplexityCollectionIterator
isEmpty()  : bool
isFunction()  : self
isMethod()  : self
mergeWith()  : self
sortByDescendingCyclomaticComplexity()  : self
__construct()  : mixed

Properties

Methods

mergeWith()

public mergeWith(self $other) : self
Parameters
$other : self
Return values
self

sortByDescendingCyclomaticComplexity()

public sortByDescendingCyclomaticComplexity() : self
Return values
self
On this page

Search results