final class DimensionSpacePoint extends AbstractDimensionSpacePoint (View source)

A point in the dimension space with coordinates DimensionName => DimensionValue.

E.g.: ["language" => "es", "country" => "ar"]

Implements CacheAwareInterface because of Fusion Runtime caching and Routing

Methods

fromArray(array $data)

No description

fromJsonString(string $jsonString)

Creates a dimension space point from a JSON string representation See jsonSerialize

fromLegacyDimensionArray(array $legacyDimensionValues)

Creates a dimension space point from a legacy dimension array in format ['language' => ['es'], 'country' => ['ar']]

fromUriRepresentation(string $encoded)

No description

vary(ContentDimensionId $dimensionId, string $value)

Varies a dimension space point in a single coordinate

Details

static DimensionSpacePoint fromArray(array $data)

No description

Parameters

array $data

Return Value

DimensionSpacePoint

static DimensionSpacePoint fromJsonString(string $jsonString)

Creates a dimension space point from a JSON string representation See jsonSerialize

Parameters

string $jsonString

Return Value

DimensionSpacePoint

final static DimensionSpacePoint fromLegacyDimensionArray(array $legacyDimensionValues)

Creates a dimension space point from a legacy dimension array in format ['language' => ['es'], 'country' => ['ar']]

Parameters

array $legacyDimensionValues

Return Value

DimensionSpacePoint

final static DimensionSpacePoint fromUriRepresentation(string $encoded)

No description

Parameters

string $encoded

Return Value

DimensionSpacePoint

final DimensionSpacePoint vary(ContentDimensionId $dimensionId, string $value)

Varies a dimension space point in a single coordinate

Parameters

ContentDimensionId $dimensionId
string $value

Return Value

DimensionSpacePoint