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 76
__construct(Connection $connection, BlueScreen $blueScreen)

No description

Parameters

Connection $connection
BlueScreen $blueScreen

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

No description

Parameters

Throwable|null $e

Return Value

array|null

at line 137
string getTab()

No description

Return Value

string

at line 148
string|null getPanel()

No description

Return Value

string|null

Traits

SmartObject