defaultConfigElements
defaultConfigElements
make( $name = null) : \app\framework\Component\Database\Connection\Connection
Establish a PDO connection based on the configuration.
Set up default connection or the one defined
$name | String Name of the connection. If null use default. |
createSingleConnection(array $config, string $name = '') : \app\framework\Component\Database\Connection\Connection
Create a single database connection instance.
array | $config | |
string | $name |
createConnection(\PDO $Pdo, string $database = "", string $name = '', array $config = array()) : \app\framework\Component\Database\Connection\Connection
\PDO | $Pdo | |
string | $database | |
string | $name | |
array | $config |