Documentation

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 = []

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
example

php://stderr, or tcp://%env(VAR_DUMPER_SERVER)% when using the "server:dump" command

default

null

Return values
$this

getExtensionAlias()

Gets the alias for the extension which config we are building.

public getExtensionAlias() : string
Return values
string

theme()

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
example

dark

default

'dark'

Return values
$this

toArray()

Gets all configuration represented as an array.

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results