Table of Contents
Interfaces
- ConnectionProvider
Properties
-
$connection
: Connection
-
$defaultConnectionName
: string
Methods
-
__construct()
: mixed
-
getConnection()
: Connection
-
getDefaultConnection()
: Connection
$connection
private
Connection
$connection
$defaultConnectionName
private
string
$defaultConnectionName
__construct()
public
__construct(Connection $connection[, string $defaultConnectionName = 'default' ]) : mixed
Parameters
-
$connection
: Connection
-
-
$defaultConnectionName
: string
= 'default'
-
getConnection()
public
getConnection(string $name) : Connection
Parameters
-
$name
: string
-
getDefaultConnection()
public
getDefaultConnection() : Connection