Middleware
in package
implements
Middleware
FinalYes
Middleware to collect debug data.
Tags
Table of Contents
Interfaces
Properties
- $connectionName : mixed
- $debugDataHolder : mixed
- $stopwatch : mixed
Methods
- __construct() : mixed
- wrap() : Driver
Properties
$connectionName
private
mixed
$connectionName
$debugDataHolder
private
mixed
$debugDataHolder
$stopwatch
private
mixed
$stopwatch
Methods
__construct()
public
__construct(DebugDataHolder $debugDataHolder, Stopwatch|null $stopwatch[, string $connectionName = 'default' ]) : mixed
Parameters
- $debugDataHolder : DebugDataHolder
- $stopwatch : Stopwatch|null
- $connectionName : string = 'default'
wrap()
public
wrap(Driver $driver) : Driver
Parameters
- $driver : Driver