TransientNodeCopy
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
No description
Details
static TransientNodeCopy
forEntry(Subtree $subtree, WorkspaceName $targetWorkspaceName, OriginDimensionSpacePoint $targetOriginDimensionSpacePoint, NodeAggregateIdMapping $nodeAggregateIdMapping)
No description
TransientNodeCopy
forTetheredChildNode(Subtree $subtree)
No description
TransientNodeCopy
forRegularChildNode(Subtree $subtree)
No description