\AppDatabaseFactory

DatabaseFactory.php

Create a connection to the database

Summary

Methods
Properties
Constants
setConfig()
makeConnection()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$connectionName
$dbConfig
N/A

Properties

$connectionName

$connectionName : string

Type

string — Name of current connection

$dbConfig

$dbConfig : array

Type

array — Array of configuration

Methods

setConfig()

setConfig() 

Loading configuration file

makeConnection()

makeConnection() 

Creating the connection to the database