CspConfigurationFactory

Read onlyYes

Transforms a `csp.yaml` site configuration into a configuration model.

Internal

Table of Contents

Methods

__construct()  : mixed
buildBehavior()  : Behavior
Builds a Behavior instance from the top-level `behavior:` section of the `csp.yaml` configuration.
buildDispositionMap()  : Map<Disposition, DispositionConfiguration>
resolveFallbackDispositions()  : array<int, Disposition>

Methods

buildBehavior()

Builds a Behavior instance from the top-level `behavior:` section of the `csp.yaml` configuration.

public buildBehavior(array<string|int, mixed> $siteConfiguration) : Behavior
Parameters
$siteConfiguration : array<string|int, mixed>
Return values
Behavior

        
On this page

Search results