Explore Server Side Testing SDK for PHP

MysqlConnectionConfig

Table of Contents

Properties

$database  : string
$host  : string
$password  : string
$port  : int
$table  : string
$username  : string

Methods

__construct()  : mixed
createFromArray()  : self
getDsn()  : string

Properties

Methods

__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>
Return values
self

        
On this page

Search results