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!)

Methods

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

No description

fromArray(array $valueAndType)

No description

string
getType()

No description

int|float|string|bool|array|ArrayObject|null
getValue()

No description

array
jsonSerialize()

No description

string
__toString()

No description

Details

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

No description

Parameters

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

static SerializedPropertyValue fromArray(array $valueAndType)

No description

Parameters

array $valueAndType

Return Value

SerializedPropertyValue

string getType()

No description

Return Value

string

int|float|string|bool|array|ArrayObject|null getValue()

No description

Return Value

int|float|string|bool|array|ArrayObject|null

array jsonSerialize()

No description

Return Value

array

string __toString()

No description

Return Value

string