Documentation

ExistingConnection
in package
implements ConnectionLoader

FinalYes

Table of Contents

Interfaces

ConnectionLoader
The ConnectionLoader defines the interface used to load the Doctrine\DBAL\Connection instance to use for migrations.

Properties

$connection  : Connection

Methods

__construct()  : mixed
getConnection()  : Connection
Read the input and return a Connection, returns null if the config is not supported.

Properties

Methods

__construct()

public __construct(Connection $connection) : mixed
Parameters
$connection : Connection

getConnection()

Read the input and return a Connection, returns null if the config is not supported.

public getConnection([string|null $name = null ]) : Connection
Parameters
$name : string|null = null
Return values
Connection

        
On this page

Search results