src/DB.php
final public static function getConnection($cnxString) {
        $factory = self::getFactory(parse_url($cnxString, PHP_URL_SCHEME));
        return $factory->getConnection($cnxString);
    }
final public static function getConnection($cnxString) {
        $factory = self::getFactory(parse_url($cnxString, PHP_URL_SCHEME));
        return $factory->getConnection($cnxString);
    }
final public static function getConnection ( $ cnxString ) { $ factory = self :: getFactory ( parse_url ( $ cnxString , PHP_URL_SCHEME ) ) ; return $ factory -> getConnection ( $ cnxString ) ; }
Get connection from connection string
@param string $cnxString Connection string
@return Connection Connection instance
@throws ConnectionFailedException
@throws DriverException
Get connection from connection string