ConnectionInterface
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.
at line 17
bool
reconnect()
Reconnect the connection.
at line 22
bool
check()
Check the connection is valid.
at line 27
bool
close()
Close the connection.
at line 32
void
release()
Release the connection to pool.
at line 37
void
discard()
Discard the connection from its pool.