SetNodeReferences
final class SetNodeReferences implements CommandInterface (View source)
Create a named reference from source to one or multiple destination nodes.
The previously set references will be replaced by this command and not merged.
Internally, this object is converted into a {\Neos\ContentRepository\Core\Feature\NodeReferencing\Command\SetSerializedNodeReferences} command, which is then processed and stored.
Methods
static SetNodeReferences
create(WorkspaceName $workspaceName, NodeAggregateId $sourceNodeAggregateId, OriginDimensionSpacePoint $sourceOriginDimensionSpacePoint, NodeReferencesToWrite $references)
No description
static CommandInterface
fromArray(array $array)
No description
Details
static SetNodeReferences
create(WorkspaceName $workspaceName, NodeAggregateId $sourceNodeAggregateId, OriginDimensionSpacePoint $sourceOriginDimensionSpacePoint, NodeReferencesToWrite $references)
No description
static CommandInterface
fromArray(array $array)
No description