GraphState
final class GraphState implements IteratorAggregate, JsonSerializable (View source)
| internal |
The graph state describing all node aggregates and their direct connections within a workspace
Methods
static GraphState
forNodeAggregateIdsWorkSpaceNameAndContentRepository(array $nodeAggregateIds, ContentGraphInterface $contentGraph, DimensionSpacePointSet $dimensionSpacePointSet)
No description
void
GraphStateDiff|null
getIterator()
No description
array
jsonSerialize()
No description
Details
static GraphState
forNodeAggregateIdsWorkSpaceNameAndContentRepository(array $nodeAggregateIds, ContentGraphInterface $contentGraph, DimensionSpacePointSet $dimensionSpacePointSet)
No description
void
registerItem(NodeAggregateId $nodeAggregateId, LocalGraphState $item)
No description
GraphStateDiff|null
diff(GraphState|null $other, WorkspaceName|null $expectedWorkspaceName = null)
No description
Traversable
getIterator()
No description
array
jsonSerialize()
No description