PropertyValuesToWrite
final class PropertyValuesToWrite (View source)
Property values to write, supports arbitrary objects. Will be then converted to {SerializedPropertyValues} inside the events and persisted commands.
This object does not store the types of the values separately, while in {\Neos\ContentRepository\Core\Feature\NodeModification\Dto\SerializedPropertyValues}, the types are stored in the data structure. We expect the value types to match the NodeType's property types (this is validated in the command handler).
Methods
static PropertyValuesToWrite
fromArray(array $values)
No description
static PropertyValuesToWrite
fromJsonString(string $jsonString)
No description
withValue(string $valueName, mixed $value)
No description
array
getValues()
No description
Details
static PropertyValuesToWrite
fromArray(array $values)
No description
static PropertyValuesToWrite
fromJsonString(string $jsonString)
No description
PropertyValuesToWrite
withValue(string $valueName, mixed $value)
No description
PropertyValuesToWrite
merge(PropertyValuesToWrite $other)
No description
array
getValues()
No description