ConnectionFactory

 class Winter\Storm\Database\Connectors\ConnectionFactory
extends Illuminate\Database\Connectors\ConnectionFactory

Extends

Methods

protected createConnection (string $driver, PDO $connection, string $database, string $prefix = "", array $config = []) : Illuminate\Database\Connection

Create a new connection instance.

Parameters
Property Description
$driver
string
$connection
PDO
$database
string
$prefix
string
$config
array
Returns
Illuminate\Database\Connection

protected createPdoResolverWithHosts (array $config) : Closure

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

Parameters
Property Description
$config
array
Returns
Closure
Copyright © 2024 Winter CMS