Documentation

SingleConnectionProvider
in package
implements ConnectionProvider

Table of Contents

Interfaces

ConnectionProvider

Properties

$connection  : Connection
$defaultConnectionName  : string

Methods

__construct()  : mixed
getConnection()  : Connection
getDefaultConnection()  : Connection

Properties

Methods

__construct()

public __construct(Connection $connection[, string $defaultConnectionName = 'default' ]) : mixed
Parameters
$connection : Connection
$defaultConnectionName : string = 'default'

getConnection()

public getConnection(string $name) : Connection
Parameters
$name : string
Return values
Connection

        
On this page

Search results