MysqlConnection
in package
Table of Contents
Properties
- $client : PDO|null
- $config : MysqlConnectionConfig
- $tableCreated : bool
Methods
- __construct() : mixed
- ensureTable() : mixed
- getTableName() : string
- isConnected() : bool
- open() : PDO
- createConnection() : PDO
Properties
$client
private
PDO|null
$client
$config
private
MysqlConnectionConfig
$config
$tableCreated
private
bool
$tableCreated
= false
Methods
__construct()
public
__construct(mixed $client, MysqlConnectionConfig $config) : mixed
Parameters
- $client : mixed
- $config : MysqlConnectionConfig
ensureTable()
public
ensureTable() : mixed
getTableName()
public
getTableName() : string
Return values
stringisConnected()
public
isConnected() : bool
Return values
boolopen()
public
open() : PDO
Return values
PDOcreateConnection()
private
createConnection() : PDO