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|null $count
array|null $source

Methods

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

No description

done(Result|DriverException|null $result = null)

No description

Details

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

No description

Parameters

Connection $connection
int $type
string $sql

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

No description

Parameters

Result|DriverException|null $result

Return Value

Event

Traits

Better OOP experience.