class FallbackGraphService (View source)

The fallback graph application service

To be used as a read-only source of fallback information for graph-related projectors

Never use this on the read side since its initialization time grows linearly by the amount of possible combinations of content dimension values

Properties

protected ContentDimensionPresetSourceInterface $contentDimensionPresetSource
protected IntraDimensionalFallbackGraph $intraDimensionalFallbackGraph
protected InterDimensionalFallbackGraph $interDimensionalFallbackGraph

Methods

initializeObject()

No description

array
void
populatePresetDimensions(array $prioritizedContentDimensions)

No description

populateInterDimensionalFallbackGraph(array $prioritizedContentDimensions)

No description

array
translateDimensionValueCombinationToPresetCombination(array $dimensionValueCombination)

No description

array
determineAffectedVariantSubgraphIdentifiers(string $subgraphIdentifier)

No description

array
determineConnectedSubgraphIdentifiers(string $subgraphIdentifier)

No description

Details

initializeObject()

No description

protected array populateIntraDimensionalFallbackGraph()

No description

Return Value

array

protected void populatePresetDimensions(array $prioritizedContentDimensions)

No description

Parameters

array $prioritizedContentDimensions

Return Value

void

Exceptions

InvalidDimensionConfigurationException

protected populateInterDimensionalFallbackGraph(array $prioritizedContentDimensions)

No description

Parameters

array $prioritizedContentDimensions

protected array translateDimensionValueCombinationToPresetCombination(array $dimensionValueCombination)

No description

Parameters

array $dimensionValueCombination

Return Value

array

array determineAffectedVariantSubgraphIdentifiers(string $subgraphIdentifier)

No description

Parameters

string $subgraphIdentifier

Return Value

array

array determineConnectedSubgraphIdentifiers(string $subgraphIdentifier)

No description

Parameters

string $subgraphIdentifier

Return Value

array

IntraDimensionalFallbackGraph getIntraDimensionalFallbackGraph()

No description

InterDimensionalFallbackGraph getInterDimensionalFallbackGraph()

No description