Documentation

ComplexityCollection
in package
implements Countable, IteratorAggregate

Tags
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

Properties

Methods

asArray()

public asArray() : array<string|int, mixed>
Tags
psalm-return

list<Complexity>

Return values
array<string|int, mixed>

__construct()

private __construct(array<string|int, mixed> $items) : mixed
Parameters
$items : array<string|int, mixed>
Tags
psalm-param

list<Complexity> $items

Return values
mixed

Search results