final class LocalGraphState implements IteratorAggregate, JsonSerializable (View source)

internal  
 

The local graph state describing a single node aggregate and its direct connections Comparison is done on complete node state as node identity may not be guaranteed by graph adapters

Methods

static LocalGraphState
fromNodeAggregateIdContentGraphAndDimensionSpacePointSet(NodeAggregateId $nodeAggregateId, ContentGraphInterface $contentGraph, DimensionSpacePointSet $dimensionSpacePointSet)

No description

diff(LocalGraphState $other, WorkspaceName|null $expectedWorkspaceName = null)

No description

getIterator()

No description

array
jsonSerialize()

No description

Details

static LocalGraphState fromNodeAggregateIdContentGraphAndDimensionSpacePointSet(NodeAggregateId $nodeAggregateId, ContentGraphInterface $contentGraph, DimensionSpacePointSet $dimensionSpacePointSet)

No description

Parameters

NodeAggregateId $nodeAggregateId
ContentGraphInterface $contentGraph
DimensionSpacePointSet $dimensionSpacePointSet

Return Value

LocalGraphState

LocalGraphStateDiff|null diff(LocalGraphState $other, WorkspaceName|null $expectedWorkspaceName = null)

No description

Parameters

LocalGraphState $other
WorkspaceName|null $expectedWorkspaceName

Return Value

LocalGraphStateDiff|null

Traversable getIterator()

No description

Return Value

Traversable

array jsonSerialize()

No description

Return Value

array