final class NodeAggregateIds implements IteratorAggregate, Countable, JsonSerializable (View source)

An immutable collection of NodeAggregateIds, indexed by their value

Methods

createEmpty()

No description

create(NodeAggregateId ...$nodeAggregateIds)

No description

fromArray(array $array)

No description

fromJsonString(string $jsonString)

No description

fromNodes(Nodes $nodes)

No description

merge(NodeAggregateIds $other)

No description

bool
contain(NodeAggregateId $nodeAggregateId)

No description

array
jsonSerialize()

No description

string
toJson()

No description

array
toStringArray()

No description

getIterator()

No description

array
map(Closure $callback)

No description

int
count()

No description

bool
isEmpty()

No description

Details

static NodeAggregateIds createEmpty()

No description

Return Value

NodeAggregateIds

static NodeAggregateIds create(NodeAggregateId ...$nodeAggregateIds)

No description

Parameters

NodeAggregateId ...$nodeAggregateIds

Return Value

NodeAggregateIds

static NodeAggregateIds fromArray(array $array)

No description

Parameters

array $array

Return Value

NodeAggregateIds

static NodeAggregateIds fromJsonString(string $jsonString)

No description

Parameters

string $jsonString

Return Value

NodeAggregateIds

static NodeAggregateIds fromNodes(Nodes $nodes)

No description

Parameters

Nodes $nodes

Return Value

NodeAggregateIds

NodeAggregateIds merge(NodeAggregateIds $other)

No description

Parameters

NodeAggregateIds $other

Return Value

NodeAggregateIds

bool contain(NodeAggregateId $nodeAggregateId)

No description

Parameters

NodeAggregateId $nodeAggregateId

Return Value

bool

array jsonSerialize()

No description

Return Value

array

string toJson()

No description

Return Value

string

array toStringArray()

No description

Return Value

array

Traversable getIterator()

No description

Return Value

Traversable

array map(Closure $callback)

No description

Parameters

Closure $callback

Return Value

array

int count()

No description

Return Value

int

bool isEmpty()

No description

Return Value

bool