ConnectionFactory
class Winter\Storm\Database\Connectors\ConnectionFactory
extends Illuminate\Database\Connectors\ConnectionFactory
Extends
Class | Description |
---|---|
Illuminate\Database\Connectors\ConnectionFactory
|
Methods
protected
createConnection (string $driver, PDO $connection, string $database, string $prefix = ""
, array $config = []
)
: Illuminate\Database\Connection
Create a new connection instance.
Parameters
Property | Type | Description |
---|---|---|
$driver | string |
string
|
$connection | PDO |
PDO
|
$database | string |
string
|
$prefix | string |
string
|
$config | array |
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 | Type | Description |
---|---|---|
$config | array |
array
|
Returns
Closure
← Previous page
Winter\Storm\Database\Connections\SqlServerConnection
Next page →
Winter\Storm\Database\DataFeed
Copyright © 2024 Winter CMS