trait DimensionSpaceInternals (View source)

internal  implementation details of command handlers
 

Methods

requireOrderedOccupiedDimensionSpacePoints(NodeAggregate $nodeAggregate)

A node aggregate's order of {NodeAggregate::$occupiedDimensionSpacePoints} is undefined as returned from the database.

requireOrderedOriginDimensionSpacePoints(OriginDimensionSpacePointSet $affectedOriginDimensionSpacePoints)

FIXME: This method might make sense on the InterDimensionVariationGraph but for this an explicit distinctions of unordered Set and List value objects for dimension space points is required. Currently we have Set value objects that still have sometimes an order with meaning.

Details

final protected OriginDimensionSpacePointSet requireOrderedOccupiedDimensionSpacePoints(NodeAggregate $nodeAggregate)

A node aggregate's order of {NodeAggregate::$occupiedDimensionSpacePoints} is undefined as returned from the database.

Before using this unorder to emit events we use the interdimensional variation graph to order them into a flattened tree according to configuration.

Parameters

NodeAggregate $nodeAggregate

Return Value

OriginDimensionSpacePointSet

final protected OriginDimensionSpacePointSet requireOrderedOriginDimensionSpacePoints(OriginDimensionSpacePointSet $affectedOriginDimensionSpacePoints)

FIXME: This method might make sense on the InterDimensionVariationGraph but for this an explicit distinctions of unordered Set and List value objects for dimension space points is required. Currently we have Set value objects that still have sometimes an order with meaning.

Parameters

OriginDimensionSpacePointSet $affectedOriginDimensionSpacePoints

Return Value

OriginDimensionSpacePointSet