SetNodeProperties
final class SetNodeProperties implements CommandInterface (View source)
Add property values for a given node.
The properties will not be replaced but will be merged via the existing ones by the projection. A null value will cause to unset a nodes' property.
The property values support arbitrary types (but must match the NodeType's property types - this is validated in the command handler).
Internally, this object is converted into a {\Neos\ContentRepository\Core\Feature\NodeModification\Command\SetSerializedNodeProperties} command, which is then processed and stored.
Methods
static SetNodeProperties
create(WorkspaceName $workspaceName, NodeAggregateId $nodeAggregateId, OriginDimensionSpacePoint $originDimensionSpacePoint, PropertyValuesToWrite $propertyValues)
No description
static CommandInterface
fromArray(array $array)
No description
Details
static SetNodeProperties
create(WorkspaceName $workspaceName, NodeAggregateId $nodeAggregateId, OriginDimensionSpacePoint $originDimensionSpacePoint, PropertyValuesToWrite $propertyValues)
No description
static CommandInterface
fromArray(array $array)
No description