final | |
---|---|
implements |
Readable |
uses |
ReadsProtectedProperties |
Creates connections to databases
Methods | ||
---|---|---|
public
|
__construct(string $name, DbDriver::*|null $driver = null)
|
# |
public
|
getConnection(int $timeout = 15): ADOConnection
|
# |
Methods used from Salient\Core\Concern\ReadsProtectedProperties |
---|
getReadableProperties() |
Properties | |||
---|---|---|---|
public
readonly
|
string
|
$Name
|
# |
public
readonly
|
DbDriver::*
|
$Driver
|
# |
public
readonly
|
string|null
|
$Dsn
|
# |
public
readonly
|
string|null
|
$Hostname
|
# |
public
readonly
|
int|null
|
$Port
|
# |
public
readonly
|
string|null
|
$Username
|
# |
public
readonly
|
string|null
|
$Password
|
# |
public
readonly
|
string|null
|
$Database
|
# |
public
readonly
|
string|null
|
$Schema
|
# |