DispositionConfiguration
Read onlyYes
Represents a `csp.yaml` site configuration section for the disposition modes `enforce` and `report.
Table of Contents
Properties
- $includeResolutions : bool
- $inheritDefault : bool
- $mutations : array<string|int, mixed>
- $packages : array<string, bool>
Methods
- __construct() : mixed
- resolveEffectivePackages() : array<string|int, mixed>
Properties
$includeResolutions
public
bool
$includeResolutions
$inheritDefault
public
bool
$inheritDefault
$mutations
public
array<string|int, mixed>
$mutations
= []
$packages
public
array<string, bool>
$packages
= []
Methods
__construct()
public
__construct(bool $inheritDefault, bool $includeResolutions[, array<string|int, mixed> $mutations = [] ][, array<string|int, mixed> $packages = [] ]) : mixed
Parameters
- $inheritDefault : bool
- $includeResolutions : bool
- $mutations : array<string|int, mixed> = []
- $packages : array<string|int, mixed> = []
resolveEffectivePackages()
public
resolveEffectivePackages(string ...$packageNames) : array<string|int, mixed>
Parameters
- $packageNames : string