Documentation

PhpErrorsConfig
in package

This class is automatically generated to help in creating a config.

Table of Contents

Properties

$_usedProperties  : mixed
$log  : mixed
$throw  : mixed

Methods

__construct()  : mixed
log()  : $this
Use the application logger instead of the PHP logger for logging PHP errors.
throw()  : $this
Throw PHP errors as \ErrorException instances.
toArray()  : array<string|int, mixed>

Properties

Methods

__construct()

public __construct([array<string|int, mixed> $value = [] ]) : mixed
Parameters
$value : array<string|int, mixed> = []

log()

Use the application logger instead of the PHP logger for logging PHP errors.

public log([ParamConfigurator|mixed $value = true ]) : $this
Parameters
$value : ParamConfigurator|mixed = true
Tags
example

"true" to use the default configuration: log all errors. "false" to disable. An integer bit field of E_* constants, or an array mapping E_* constants to log levels.

default

true

Return values
$this

toArray()

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

        
On this page

Search results