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
$connection
private
Connection
$connection
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