DispositionConfiguration

FinalYes

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

Internal

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 read-only

public bool $includeResolutions

$inheritDefault read-only

public bool $inheritDefault

$mutations read-only

public array<string|int, mixed> $mutations = []

$packages read-only

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
Return values
array<string|int, mixed>

        
On this page

Search results