ProfilerConfig
in package
This class is automatically generated to help in creating a config.
Table of Contents
Properties
- $_usedProperties : mixed
- $collect : mixed
- $collectParameter : mixed
- $dsn : mixed
- $enabled : mixed
- $onlyExceptions : mixed
- $onlyMainRequests : mixed
Methods
- __construct() : mixed
- collect() : $this
- collectParameter() : $this
- The name of the parameter to use to enable or disable collection on a per request basis
- dsn() : $this
- enabled() : $this
- onlyExceptions() : $this
- onlyMainRequests() : $this
- toArray() : array<string|int, mixed>
Properties
$_usedProperties
private
mixed
$_usedProperties
= []
$collect
private
mixed
$collect
$collectParameter
private
mixed
$collectParameter
$dsn
private
mixed
$dsn
$enabled
private
mixed
$enabled
$onlyExceptions
private
mixed
$onlyExceptions
$onlyMainRequests
private
mixed
$onlyMainRequests
Methods
__construct()
public
__construct([array<string|int, mixed> $value = [] ]) : mixed
Parameters
- $value : array<string|int, mixed> = []
collect()
public
collect(ParamConfigurator|bool $value) : $this
Parameters
- $value : ParamConfigurator|bool
Tags
Return values
$thiscollectParameter()
The name of the parameter to use to enable or disable collection on a per request basis
public
collectParameter(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thisdsn()
public
dsn(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thisenabled()
public
enabled(ParamConfigurator|bool $value) : $this
Parameters
- $value : ParamConfigurator|bool
Tags
Return values
$thisonlyExceptions()
public
onlyExceptions(ParamConfigurator|bool $value) : $this
Parameters
- $value : ParamConfigurator|bool
Tags
Return values
$thisonlyMainRequests()
public
onlyMainRequests(ParamConfigurator|bool $value) : $this
Parameters
- $value : ParamConfigurator|bool
Tags
Return values
$thistoArray()
public
toArray() : array<string|int, mixed>