Documentation

Config
in package

Connection configuration.

Table of Contents

Properties

$charset  : null|string
$collation  : null|string
$database  : null|string
$dsn  : null|string
$host  : null|string
$name  : null|int|string
$options  : array<string|int, mixed>
$password  : null|string
$port  : null|string|int
$username  : null|string

Methods

__construct()  : mixed
hasDSN()  : bool
hasName()  : bool

Properties

$charset read-only

public null|string $charset

$collation read-only

public null|string $collation

$database read-only

public null|string $database

$host read-only

public null|string $host

$name

public null|int|string $name

$options read-only

public array<string|int, mixed> $options

$password read-only

public null|string $password

$port read-only

public null|string|int $port

$username read-only

public null|string $username

Methods

__construct()

public __construct(array<string|int, mixed> $config) : mixed
Parameters
$config : array<string|int, mixed>

hasDSN()

public hasDSN() : bool
Return values
bool

hasName()

public hasName() : bool
Return values
bool

        
On this page

Search results