Documentation

ConfigurationFile
in package
implements ConnectionLoader

FinalYes

This class will return a Connection instance, loaded from a configuration file provided as argument.

Table of Contents

Interfaces

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

Properties

$filename  : string

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(string $filename) : mixed
Parameters
$filename : string

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