DebugConfig
in package
implements
ConfigBuilderInterface
This class is automatically generated to help in creating a config.
Table of Contents
Interfaces
- ConfigBuilderInterface
- A ConfigBuilder provides helper methods to build a large complex array.
Properties
- $_usedProperties : mixed
- $dumpDestination : mixed
- $maxItems : mixed
- $maxStringLength : mixed
- $minDepth : mixed
- $theme : mixed
Methods
- __construct() : mixed
- dumpDestination() : $this
- A stream URL where dumps should be written to
- getExtensionAlias() : string
- Gets the alias for the extension which config we are building.
- maxItems() : $this
- Max number of displayed items past the first level, -1 means no limit
- maxStringLength() : $this
- Max length of displayed strings, -1 means no limit
- minDepth() : $this
- Minimum tree depth to clone all the items, 1 is default
- theme() : $this
- Changes the color of the dump() output when rendered directly on the templating. "dark" (default) or "light"
- toArray() : array<string|int, mixed>
- Gets all configuration represented as an array.
Properties
$_usedProperties
private
mixed
$_usedProperties
= []
$dumpDestination
private
mixed
$dumpDestination
$maxItems
private
mixed
$maxItems
$maxStringLength
private
mixed
$maxStringLength
$minDepth
private
mixed
$minDepth
$theme
private
mixed
$theme
Methods
__construct()
public
__construct([array<string|int, mixed> $value = [] ]) : mixed
Parameters
- $value : array<string|int, mixed> = []
dumpDestination()
A stream URL where dumps should be written to
public
dumpDestination(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thisgetExtensionAlias()
Gets the alias for the extension which config we are building.
public
getExtensionAlias() : string
Return values
stringmaxItems()
Max number of displayed items past the first level, -1 means no limit
public
maxItems(ParamConfigurator|int $value) : $this
Parameters
- $value : ParamConfigurator|int
Tags
Return values
$thismaxStringLength()
Max length of displayed strings, -1 means no limit
public
maxStringLength(ParamConfigurator|int $value) : $this
Parameters
- $value : ParamConfigurator|int
Tags
Return values
$thisminDepth()
Minimum tree depth to clone all the items, 1 is default
public
minDepth(ParamConfigurator|int $value) : $this
Parameters
- $value : ParamConfigurator|int
Tags
Return values
$thistheme()
Changes the color of the dump() output when rendered directly on the templating. "dark" (default) or "light"
public
theme(ParamConfigurator|"dark"|"light" $value) : $this
Parameters
- $value : ParamConfigurator|"dark"|"light"
Tags
Return values
$thistoArray()
Gets all configuration represented as an array.
public
toArray() : array<string|int, mixed>