Documentation

ComplexityCollection
in package
implements Countable, IteratorAggregate

FinalYes
Tags
psalm-immutable

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

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


        
On this page

Search results