final class NodeAggregates implements IteratorAggregate, Countable (View source)

An immutable, type-safe collection of NodeAggregate objects

Methods

static NodeAggregates
fromArray(array $nodeAggregates)

No description

static NodeAggregates
createEmpty()

No description

get(NodeAggregateId $nodeAggregateId)

No description

first()

No description

getIterator()

No description

int
count()

No description

bool
isEmpty()

No description

Details

static NodeAggregates fromArray(array $nodeAggregates)

No description

Parameters

array $nodeAggregates

Return Value

NodeAggregates

static NodeAggregates createEmpty()

No description

Return Value

NodeAggregates

NodeAggregate|null get(NodeAggregateId $nodeAggregateId)

No description

Parameters

NodeAggregateId $nodeAggregateId

Return Value

NodeAggregate|null

NodeAggregate|null first()

No description

Return Value

NodeAggregate|null

Traversable getIterator()

No description

Return Value

Traversable

int count()

No description

Return Value

int

bool isEmpty()

No description

Return Value

bool