DebugMiddleware
in package
implements
Middleware, ConnectionNameAwareInterface
Table of Contents
Interfaces
Properties
- $connectionName : string
- $debugDataHolder : DebugDataHolder
- $stopwatch : Stopwatch|null
Methods
- __construct() : mixed
- setConnectionName() : void
- wrap() : Driver
Properties
$connectionName
private
string
$connectionName
= 'default'
$debugDataHolder
private
DebugDataHolder
$debugDataHolder
$stopwatch
private
Stopwatch|null
$stopwatch
Methods
__construct()
public
__construct(DebugDataHolder $debugDataHolder, Stopwatch|null $stopwatch) : mixed
Parameters
- $debugDataHolder : DebugDataHolder
- $stopwatch : Stopwatch|null
setConnectionName()
public
setConnectionName(string $name) : void
Parameters
- $name : string
wrap()
public
wrap(Driver $driver) : Driver
Parameters
- $driver : Driver