class Event

Profiler & logger event.

Constants

CONNECT

event type

SELECT

event type

INSERT

event type

DELETE

event type

UPDATE

event type

QUERY

event type

BEGIN

event type

COMMIT

event type

ROLLBACK

event type

TRANSACTION

event type

ALL

event type

Properties

$connection
$type
$sql
$result
$time
$count
$source

Methods

__construct(Connection $connection, int $type, string|null $sql = null)

No description

done(DriverException|null $result = null)

No description

Details

at line 49
__construct(Connection $connection, int $type, string|null $sql = null)

No description

Parameters

Connection $connection
int $type
string|null $sql

at line 78
Event done(DriverException|null $result = null)

No description

Parameters

DriverException|null $result

Return Value

Event

Traits

Better OOP experience.