ConnectionFactory
Table of Contents
Constants
-
DEFAULT_PDO_ATTRIBUTES
= [\PDO::ATTR_DEFAULT_FETCH_MODE => \PDO::FETCH_ASSOC, \PDO::ATTR_ERRMODE => \PDO::ERRMODE_EXCEPTION]
Methods
-
create()
: ConnectionFactory
-
PDOConnection()
: PDOConnection
-
PDOConnections()
: array<string|int, mixed>
DEFAULT_PDO_ATTRIBUTES
public
mixed
DEFAULT_PDO_ATTRIBUTES
= [\PDO::ATTR_DEFAULT_FETCH_MODE => \PDO::FETCH_ASSOC, \PDO::ATTR_ERRMODE => \PDO::ERRMODE_EXCEPTION]
create()
public
static create() : ConnectionFactory
PDOConnection()
public
PDOConnection(Config $config) : PDOConnection
Parameters
-
$config
: Config
-
PDOConnections()
public
PDOConnections(array<string|int, mixed> $connectionConfigurations) : array<string|int, mixed>
Parameters
-
$connectionConfigurations
: array<string|int, mixed>
-
Return values
array<string|int, mixed>