class ConnectionFactory extends ConnectionFactory

Methods

createPdoResolverWithHosts(array $config)

Carbon copy of parent. Except Laravel creates an "uncatchable" exception, this is resolved as part of the override below.

Connection
createConnection(string $driver, PDO $connection, string $database, string $prefix = '', array $config = [])

Create a new connection instance.

Details

at line 24
protected Closure createPdoResolverWithHosts(array $config)

Carbon copy of parent. Except Laravel creates an "uncatchable" exception, this is resolved as part of the override below.

Parameters

array $config

Return Value

Closure

at line 53
protected Connection createConnection(string $driver, PDO $connection, string $database, string $prefix = '', array $config = [])

Create a new connection instance.

Parameters

string $driver
PDO $connection
string $database
string $prefix
array $config

Return Value

Connection

Exceptions

InvalidArgumentException