InterDimensionalFallbackGraph
class InterDimensionalFallbackGraph (View source)
The inter dimensional fallback graph domain model Represents the fallback mechanism between content subgraphs
Properties
protected array | $subgraphs | ||
protected array|ContentDimension[] | $prioritizedContentDimensions |
Methods
__construct(array $prioritizedContentDimensions)
No description
createContentSubgraph(array $dimensionValues)
No description
array
int
normalizeWeight(array $weight)
No description
int
determineWeightNormalizationBase()
No description
ContentSubgraph|null
array
getSubgraphs()
No description
ContentSubgraph|null
getSubgraph(string $identityHash)
No description
Details
__construct(array $prioritizedContentDimensions)
No description
ContentSubgraph
createContentSubgraph(array $dimensionValues)
No description
VariationEdge
connectSubgraphs(ContentSubgraph $variant, ContentSubgraph $fallback)
No description
array
calculateFallbackWeight(ContentSubgraph $variant, ContentSubgraph $fallback)
No description
int
normalizeWeight(array $weight)
No description
int
determineWeightNormalizationBase()
No description
ContentSubgraph|null
getPrimaryFallback(ContentSubgraph $contentSubgraph)
No description
array
getSubgraphs()
No description
ContentSubgraph|null
getSubgraph(string $identityHash)
No description