DispositionConfiguration

readonly class \TYPO3\CMS\Core\Security\ContentSecurityPolicy\Configuration\DispositionConfiguration

Represents a `csp.yaml` site configuration section for the disposition modes `enforce` and `report.

Table of Contents

Properties

$includeResolutions  : bool
$inheritDefault  : bool
$mutations  : array
$packages  : array<string, bool>
$reportingUrl  : bool|string|null

Methods

__construct()  : mixed
normalizeReportingUrl()  : bool|string|null
resolveEffectivePackages()  : array

Properties

$includeResolutions

public bool $includeResolutions

$inheritDefault

public bool $inheritDefault

$packages

public array<string, bool> $packages = []

$reportingUrl

public bool|string|null $reportingUrl

Methods

__construct()

public __construct(bool $inheritDefault, bool $includeResolutions, mixed $reportingUrl[, array $mutations = [] ][, array $packages = [] ]) : mixed

Parameters

$inheritDefault : bool
$includeResolutions : bool
$reportingUrl : mixed
$mutations : array = []
$packages : array = []

normalizeReportingUrl()

public static normalizeReportingUrl(mixed $reportingUrl) : bool|string|null

Parameters

$reportingUrl : mixed

Return values

bool|string|null

resolveEffectivePackages()

public resolveEffectivePackages(string ...$packageNames) : array

Parameters

$packageNames : string

Return values

array
On this page