ComplexityCollection
in package
implements
Countable, IteratorAggregate
FinalYes
Tags
Table of Contents
Interfaces
- Countable
- IteratorAggregate
Properties
- $items : mixed
Methods
- asArray() : array<string|int, mixed>
- count() : int
- cyclomaticComplexity() : int
- fromList() : self
- getIterator() : ComplexityCollectionIterator
- isEmpty() : bool
- __construct() : mixed
Properties
$items
private
mixed
$items
= []
Tags
Methods
asArray()
public
asArray() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>count()
public
count() : int
Return values
intcyclomaticComplexity()
public
cyclomaticComplexity() : int
Return values
intfromList()
public
static fromList(Complexity ...$items) : self
Parameters
- $items : Complexity
Return values
selfgetIterator()
public
getIterator() : ComplexityCollectionIterator
Return values
ComplexityCollectionIteratorisEmpty()
public
isEmpty() : bool
Return values
bool__construct()
private
__construct(array<string|int, mixed> $items) : mixed
Parameters
- $items : array<string|int, mixed>