PHP Class Voodoo\Core\ConnectionManager

Show file Open project: voodoophp/voodoo Class Usage Examples

Public Methods

Method Description
connect ( string $dbAlias ) : PDO | dsnClient To establish the connection based on the DBAlias provided in the DB.ini It will only connects to the db once, then

Method Details

connect() public static method

To establish the connection based on the DBAlias provided in the DB.ini It will only connects to the db once, then
public static connect ( string $dbAlias ) : PDO | dsnClient
$dbAlias string
return PDO | dsnClient