final class SerializedPropertyValue implements JsonSerializable (View source)

"Raw" / Serialized property value as saved in the event log // in projections.

This means: "value" must be a simple PHP data type (no objects allowed!) Null as value is not permitted! To unset a node property {\Neos\ContentRepository\Core\Feature\NodeModification\Command\SetSerializedNodeProperties::$propertiesToUnset} must be used.

Methods

create(int|float|string|bool|array|ArrayObject $value, string $type)

No description

fromArray(array $valueAndType)

No description

array
jsonSerialize()

No description

array
__debugInfo()

No description

Details

static SerializedPropertyValue create(int|float|string|bool|array|ArrayObject $value, string $type)

No description

Parameters

int|float|string|bool|array|ArrayObject $value
string $type

Return Value

SerializedPropertyValue

static SerializedPropertyValue fromArray(array $valueAndType)

No description

Parameters

array $valueAndType

Return Value

SerializedPropertyValue

array jsonSerialize()

No description

Return Value

array

array __debugInfo()

No description

Return Value

array