class ConnectionFactory (View source)

Properties

protected Application $app
protected DriverManager $driver_manager

Methods

__construct(Application $app, DriverManager $driver_manager)

No description

createConnection($config)

No description

Connection
make($config, $name)

No description

getDriverManager()

No description

Details

__construct(Application $app, DriverManager $driver_manager)

Parameters

Application $app
DriverManager $driver_manager

createConnection($config)

Parameters

$config

Connection make($config, $name)

Parameters

$config
$name

Return Value

Connection

Exceptions

DBALException

DriverManager getDriverManager()

Return Value

DriverManager