ComplexityCollection
implements
Countable, IteratorAggregate
-
psalm-immutable
-
Interfaces, Classes, Traits and Enums
- Countable
- IteratorAggregate
Table of Contents
-
$items
: mixed
-
asArray()
: array<string|int, mixed>
-
count()
: int
-
cyclomaticComplexity()
: int
-
fromList()
: self
-
getIterator()
: ComplexityCollectionIterator
-
isEmpty()
: bool
-
__construct()
: mixed
$items
private
mixed
$items
= []
-
psalm-var
-
asArray()
public
asArray() : array<string|int, mixed>
-
psalm-return
-
Return values
array<string|int, mixed>
—
count()
public
count() : int
Return values
int
—
cyclomaticComplexity()
public
cyclomaticComplexity() : int
Return values
int
—
fromList()
public
static fromList(Complexity ...$items) : self
Parameters
-
$items
: Complexity
-
Return values
self
—
getIterator()
public
getIterator() : ComplexityCollectionIterator
Return values
ComplexityCollectionIterator
—
isEmpty()
public
isEmpty() : bool
Return values
bool
—
__construct()
private
__construct(array<string|int, mixed> $items) : mixed
Parameters
-
$items
: array<string|int, mixed>
-
-
psalm-param
-
Return values
mixed
—