final class NodeAggregateWithNodeWasCreated implements EventInterface, PublishableToWorkspaceInterface, EmbedsContentStreamId, EmbedsNodeAggregateId, EmbedsWorkspaceName (View source)

A node aggregate with its initial node was created

Methods

__construct(WorkspaceName $workspaceName, ContentStreamId $contentStreamId, NodeAggregateId $nodeAggregateId, NodeTypeName $nodeTypeName, OriginDimensionSpacePoint $originDimensionSpacePoint, InterdimensionalSiblings $succeedingSiblingsForCoverage, NodeAggregateId $parentNodeAggregateId, NodeName|null $nodeName, SerializedPropertyValues $initialPropertyValues, NodeAggregateClassification $nodeAggregateClassification, SerializedNodeReferences $nodeReferences)

No description

getWorkspaceName()

No description

static EventInterface
fromArray(array $values)

No description

array
jsonSerialize()

No description

Details

__construct(WorkspaceName $workspaceName, ContentStreamId $contentStreamId, NodeAggregateId $nodeAggregateId, NodeTypeName $nodeTypeName, OriginDimensionSpacePoint $originDimensionSpacePoint, InterdimensionalSiblings $succeedingSiblingsForCoverage, NodeAggregateId $parentNodeAggregateId, NodeName|null $nodeName, SerializedPropertyValues $initialPropertyValues, NodeAggregateClassification $nodeAggregateClassification, SerializedNodeReferences $nodeReferences)

No description

Parameters

WorkspaceName $workspaceName
ContentStreamId $contentStreamId
NodeAggregateId $nodeAggregateId
NodeTypeName $nodeTypeName
OriginDimensionSpacePoint $originDimensionSpacePoint
InterdimensionalSiblings $succeedingSiblingsForCoverage
NodeAggregateId $parentNodeAggregateId
NodeName|null $nodeName
SerializedPropertyValues $initialPropertyValues
NodeAggregateClassification $nodeAggregateClassification
SerializedNodeReferences $nodeReferences

ContentStreamId getContentStreamId()

No description

Return Value

ContentStreamId

NodeAggregateId getNodeAggregateId()

No description

Return Value

NodeAggregateId

WorkspaceName getWorkspaceName()

No description

Return Value

WorkspaceName

OriginDimensionSpacePoint getOriginDimensionSpacePoint()

No description

PublishableToWorkspaceInterface withWorkspaceNameAndContentStreamId(WorkspaceName $targetWorkspaceName, ContentStreamId $contentStreamId)

No description

Parameters

WorkspaceName $targetWorkspaceName
ContentStreamId $contentStreamId

Return Value

PublishableToWorkspaceInterface

static EventInterface fromArray(array $values)

No description

Parameters

array $values

Return Value

EventInterface

array jsonSerialize()

No description

Return Value

array