class ConnectionPanel implements IBarPanel

Debug panel for Nette\Database.

Properties

int $maxQueries
string $name
bool|string $explain
bool $disabled
float $performanceScale

Methods

static ConnectionPanel|null
initialize(Connection $connection, bool $addBarPanel = false, string $name = '', bool $explain = true, Bar|null $bar = null, BlueScreen|null $blueScreen = null)

No description

__construct(Connection $connection, BlueScreen $blueScreen)

No description

static array|null
renderException(Throwable|null $e)

No description

string
getTab()

No description

string|null
getPanel()

No description

Details

at line 53
static ConnectionPanel|null initialize(Connection $connection, bool $addBarPanel = false, string $name = '', bool $explain = true, Bar|null $bar = null, BlueScreen|null $blueScreen = null)

No description

Parameters

Connection $connection
bool $addBarPanel
string $name
bool $explain
Bar|null $bar
BlueScreen|null $blueScreen

Return Value

ConnectionPanel|null

at line 77
__construct(Connection $connection, BlueScreen $blueScreen)

No description

Parameters

Connection $connection
BlueScreen $blueScreen

at line 120
static array|null renderException(Throwable|null $e)

No description

Parameters

Throwable|null $e

Return Value

array|null

at line 140
string getTab()

No description

Return Value

string

at line 151
string|null getPanel()

No description

Return Value

string|null

Traits

SmartObject