final class SerializedPropertyValues implements IteratorAggregate, Countable, JsonSerializable (View source)

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

This means: each "value" must be a simple PHP data type.

Methods

createEmpty()

No description

fromArray(array $propertyValues)

No description

defaultFromNodeType(NodeType $nodeType, PropertyConverter $propertyConverter)

No description

fromJsonString(string $jsonString)

No description

unsetProperties(PropertyNames $propertyNames)

No description

array
splitByScope(NodeType $nodeType)

No description

bool
propertyExists(string $propertyName)

No description

getProperty(string $propertyName)

No description

getPropertyNames()

No description

getIterator()

No description

int
count()

No description

array
getPlainValues()

No description

array
jsonSerialize()

No description

Details

static SerializedPropertyValues createEmpty()

No description

static SerializedPropertyValues fromArray(array $propertyValues)

No description

Parameters

array $propertyValues

Return Value

SerializedPropertyValues

static SerializedPropertyValues defaultFromNodeType(NodeType $nodeType, PropertyConverter $propertyConverter)

internal  
 

No description

Parameters

NodeType $nodeType
PropertyConverter $propertyConverter

Return Value

SerializedPropertyValues

static SerializedPropertyValues fromJsonString(string $jsonString)

No description

Parameters

string $jsonString

Return Value

SerializedPropertyValues

SerializedPropertyValues unsetProperties(PropertyNames $propertyNames)

No description

Parameters

PropertyNames $propertyNames

Return Value

SerializedPropertyValues

array splitByScope(NodeType $nodeType)

internal  
 

No description

Parameters

NodeType $nodeType

Return Value

array

bool propertyExists(string $propertyName)

No description

Parameters

string $propertyName

Return Value

bool

SerializedPropertyValue|null getProperty(string $propertyName)

No description

Parameters

string $propertyName

Return Value

SerializedPropertyValue|null

PropertyNames getPropertyNames()

No description

Return Value

PropertyNames

Traversable getIterator()

No description

Return Value

Traversable

int count()

No description

Return Value

int

array getPlainValues()

No description

Return Value

array

array jsonSerialize()

No description

Return Value

array