DispositionMapFactory
Read onlyYes
Transforms a `csp.yaml` site configuration into a configuration model.
Table of Contents
Methods
- __construct() : mixed
- buildDispositionMap() : Map<Disposition, DispositionConfiguration>
- resolveFallbackDispositions() : array<int, Disposition>
Methods
__construct()
public
__construct(Features $features) : mixed
Parameters
- $features : Features
buildDispositionMap()
public
buildDispositionMap(array<string|int, mixed> $siteConfiguration) : Map<Disposition, DispositionConfiguration>
Parameters
- $siteConfiguration : array<string|int, mixed>
Return values
Map<Disposition, DispositionConfiguration>resolveFallbackDispositions()
public
resolveFallbackDispositions() : array<int, Disposition>