Table of Contents
-
$dsn
: string
-
$options
: array<string|int, mixed>
-
$password
: string
-
$username
: string
-
build()
: PDO
-
dsn()
: static
-
options()
: static
-
password()
: static
-
username()
: static
$dsn
protected
string
$dsn
= ''
$options
protected
array<string|int, mixed>
$options
= []
$password
protected
string
$password
= ''
$username
protected
string
$username
= ''
build()
public
build() : PDO
Return values
PDO
—
dsn()
public
dsn(string $value) : static
Parameters
-
$value
: string
-
Return values
static
—
options()
public
options(array<string|int, mixed> $value) : static
Parameters
-
$value
: array<string|int, mixed>
-
Return values
static
—
password()
public
password(string $value) : static
Parameters
-
$value
: string
-
Return values
static
—
username()
public
username(string $value) : static
Parameters
-
$value
: string
-
Return values
static
—