Table of Contents
Properties
-
$database
: string
-
$host
: string
-
$password
: string
-
$port
: int
-
$table
: string
-
$username
: string
Methods
-
__construct()
: mixed
-
createFromArray()
: self
-
getDsn()
: string
$database
public
string
$database
$host
public
string
$host
$password
public
string
$password
$port
public
int
$port
$table
public
string
$table
$username
public
string
$username
__construct()
public
__construct(string $host[, int $port = 3306 ][, string $username = '' ][, string $password = '' ][, string $database = '' ][, string $table = 'omniconvert_storage' ]) : mixed
Parameters
-
$host
: string
-
-
$port
: int
= 3306
-
-
$username
: string
= ''
-
-
$password
: string
= ''
-
-
$database
: string
= ''
-
-
$table
: string
= 'omniconvert_storage'
-
createFromArray()
public
static createFromArray(array<string|int, mixed> $config) : self
Parameters
-
$config
: array<string|int, mixed>
-
getDsn()
public
getDsn() : string