HttpDiagnosticsConfigDefinition
final class HttpDiagnosticsConfigDefinition extends AbstractConfigDefinition (View source)
Defines one configuration layer for explicitly exposing HTTP diagnostic headers.
Properties
| protected mixed[] | $data | from AbstractConfigDefinition |
Methods
Replaces one configuration value at a dot-separated path.
Appends one configuration value at a dot-separated list path.
Creates a layer without overriding earlier settings.
Identifies this definition in the typed configuration registry.
Sets whether diagnostic headers may expose performance data to the client.
Details
toArray
array
toArray()
No description
set
protected AbstractConfigDefinition
set(string $path, mixed $value)
Replaces one configuration value at a dot-separated path.
append
protected AbstractConfigDefinition
append(string $path, mixed $value)
Appends one configuration value at a dot-separated list path.
create
static HttpDiagnosticsConfigDefinition
create()
Creates a layer without overriding earlier settings.
moduleKey
static string
moduleKey()
Identifies this definition in the typed configuration registry.
enabled
HttpDiagnosticsConfigDefinition
enabled(bool $enabled = true)
Sets whether diagnostic headers may expose performance data to the client.