final class OriginDimensionSpacePoint extends AbstractDimensionSpacePoint (View source)

A node's origin dimension space point. Defines in which point in the dimension space the node originates (= is "at home"). Every node has exactly ONE OriginDimensionSpacePoint, but one or more {DimensionSpacePoint}s where the node is visible.

Example: In a setup with dimension "language", a node that originates in English has English content, but might be visible in other languages via fallback mechanisms.

Methods

fromArray(array $data)

No description

fromJsonString(string $jsonString)

No description

fromDimensionSpacePoint(DimensionSpacePoint $dimensionSpacePoint)

No description

fromLegacyDimensionArray(array $legacyDimensionValues) deprecated

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

Details

static OriginDimensionSpacePoint fromArray(array $data)

No description

Parameters

array $data

Return Value

OriginDimensionSpacePoint

static OriginDimensionSpacePoint fromJsonString(string $jsonString)

No description

Parameters

string $jsonString

A JSON string representation, see jsonSerialize

Return Value

OriginDimensionSpacePoint

static OriginDimensionSpacePoint fromDimensionSpacePoint(DimensionSpacePoint $dimensionSpacePoint)

No description

Parameters

DimensionSpacePoint $dimensionSpacePoint

Return Value

OriginDimensionSpacePoint

final static OriginDimensionSpacePoint fromLegacyDimensionArray(array $legacyDimensionValues) deprecated

deprecated should be only used for conversion from Neos <= 8.x to 9.x upwards. never use this in "modern" code.

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

Parameters

array $legacyDimensionValues

Return Value

OriginDimensionSpacePoint

DimensionSpacePoint toDimensionSpacePoint()

No description

Return Value

DimensionSpacePoint