final class TransientNodeCopy (View source)

Model about a non materialized node.

The "to be created" node is not yet available - (and may never be created in case of an error).

The transient node makes it possible, to still be able to enforce constraints {\Neos\Neos\Domain\Service\NodeDuplication\self::requireNodeTypeConstraintsImposedByGrandparentToBeMet()} and get information {\Neos\Neos\Domain\Service\NodeDuplication\self::$aggregateId} about a node.

For example the transient node can be passed as fictional $parentNode. To create child transient nodes of the $parentNode use {\Neos\Neos\Domain\Service\NodeDuplication\self::forRegularChildNode()} and {\Neos\Neos\Domain\Service\NodeDuplication\self::forTetheredChildNode()}

An initial transient node can be created with {\Neos\Neos\Domain\Service\NodeDuplication\self::forEntry}

Methods

forEntry(Subtree $subtree, WorkspaceName $targetWorkspaceName, OriginDimensionSpacePoint $targetOriginDimensionSpacePoint, NodeAggregateIdMapping $nodeAggregateIdMapping)

No description

forRegularChildNode(Subtree $subtree)

No description

Details

static TransientNodeCopy forEntry(Subtree $subtree, WorkspaceName $targetWorkspaceName, OriginDimensionSpacePoint $targetOriginDimensionSpacePoint, NodeAggregateIdMapping $nodeAggregateIdMapping)

No description

Parameters

Subtree $subtree
WorkspaceName $targetWorkspaceName
OriginDimensionSpacePoint $targetOriginDimensionSpacePoint
NodeAggregateIdMapping $nodeAggregateIdMapping

Return Value

TransientNodeCopy

TransientNodeCopy forTetheredChildNode(Subtree $subtree)

No description

Parameters

Subtree $subtree

Return Value

TransientNodeCopy

TransientNodeCopy forRegularChildNode(Subtree $subtree)

No description

Parameters

Subtree $subtree

Return Value

TransientNodeCopy