MonologConfig
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
- $channels : mixed
- $handlers : mixed
- $useMicroseconds : mixed
Methods
- __construct() : mixed
- channels() : $this
- getExtensionAlias() : string
- Gets the alias for the extension which config we are building.
- handler() : HandlerConfig|$this
- toArray() : array<string|int, mixed>
- Gets all configuration represented as an array.
- useMicroseconds() : $this
Properties
$_usedProperties
private
mixed
$_usedProperties
= []
$channels
private
mixed
$channels
$handlers
private
mixed
$handlers
$useMicroseconds
private
mixed
$useMicroseconds
Methods
__construct()
public
__construct([array<string|int, mixed> $value = [] ]) : mixed
Parameters
- $value : array<string|int, mixed> = []
channels()
public
channels(ParamConfigurator|array<int, ParamConfigurator|mixed> $value) : $this
Parameters
- $value : ParamConfigurator|array<int, ParamConfigurator|mixed>
Return values
$thisgetExtensionAlias()
Gets the alias for the extension which config we are building.
public
getExtensionAlias() : string
Return values
stringhandler()
public
handler(string $name[, mixed $value = [] ]) : HandlerConfig|$this
Parameters
- $name : string
- $value : mixed = []
Return values
HandlerConfig|$thistoArray()
Gets all configuration represented as an array.
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>useMicroseconds()
public
useMicroseconds(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed