DimensionSpacePoint
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
No description
Creates a dimension space point from a JSON string representation See jsonSerialize
Creates a dimension space point from a legacy dimension array in format ['language' => ['es'], 'country' => ['ar']]
No description
Varies a dimension space point in a single coordinate
Details
static DimensionSpacePoint
fromArray(array $data)
No description
static DimensionSpacePoint
fromJsonString(string $jsonString)
Creates a dimension space point from a JSON string representation See jsonSerialize
final static DimensionSpacePoint
fromLegacyDimensionArray(array $legacyDimensionValues)
Creates a dimension space point from a legacy dimension array in format ['language' => ['es'], 'country' => ['ar']]
final static DimensionSpacePoint
fromUriRepresentation(string $encoded)
No description
final DimensionSpacePoint
vary(ContentDimensionId $dimensionId, string $value)
Varies a dimension space point in a single coordinate