interface ConnectionInterface

Methods

mixed
getConnection()

Get the real connection from pool.

bool
reconnect()

Reconnect the connection.

bool
check()

Check the connection is valid.

bool
close()

Close the connection.

void
release()

Release the connection to pool.

void
discard()

Discard the connection from its pool.

Details

at line 12
mixed getConnection()

Get the real connection from pool.

Return Value

mixed

at line 17
bool reconnect()

Reconnect the connection.

Return Value

bool

at line 22
bool check()

Check the connection is valid.

Return Value

bool

at line 27
bool close()

Close the connection.

Return Value

bool

at line 32
void release()

Release the connection to pool.

Return Value

void

at line 37
void discard()

Discard the connection from its pool.

Return Value

void