final class HttpDiagnosticsConfigDefinition extends AbstractConfigDefinition (View source)

Defines one configuration layer for explicitly exposing HTTP diagnostic headers.

Properties

protected mixed[] $data from  AbstractConfigDefinition

Methods

set(string $path, mixed $value)

Replaces one configuration value at a dot-separated path.

append(string $path, mixed $value)

Appends one configuration value at a dot-separated list path.

create()

Creates a layer without overriding earlier settings.

static string

Identifies this definition in the typed configuration registry.

string
enabled(bool $enabled = true)

Sets whether diagnostic headers may expose performance data to the client.

Details

toArray

No description

Return Value

array

fromArrayData

final static AbstractConfigDefinition fromArrayData(array $data)

No description

Parameters

array $data

Return Value

AbstractConfigDefinition

set

protected AbstractConfigDefinition set(string $path, mixed $value)

Replaces one configuration value at a dot-separated path.

Parameters

string $path
mixed $value

Return Value

AbstractConfigDefinition

append

protected AbstractConfigDefinition append(string $path, mixed $value)

Appends one configuration value at a dot-separated list path.

Parameters

string $path
mixed $value

Return Value

AbstractConfigDefinition

create

Creates a layer without overriding earlier settings.

moduleKey

static string moduleKey()

Identifies this definition in the typed configuration registry.

Return Value

string

enabled

HttpDiagnosticsConfigDefinition enabled(bool $enabled = true)

Sets whether diagnostic headers may expose performance data to the client.

Parameters

bool $enabled

Return Value

HttpDiagnosticsConfigDefinition