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 $connection
int $type
string $sql
Result|DriverException|null $result
float $time
int $count
array $source

Methods

__construct(Connection $connection, $type, $sql = null)

No description

done($result = null)

No description

Details

at line 53
__construct(Connection $connection, $type, $sql = null)

No description

Parameters

Connection $connection
$type
$sql

at line 83
done($result = null)

No description

Parameters

$result

Traits

Better OOP experience.