public function addConnection($uriString)
    {
        if (!isset(self::$connectionList[$uriString])) {
            self::$connectionList[$uriString] = Factory::getDbRelationalInstance($uriString);

            if (self::$transaction) {
                self::$connectionList[$uriString]->beginTransaction();
            }
        }

        return self::$connectionList[$uriString];
    }
public function addConnection($uriString)
    {
        if (!isset(self::$connectionList[$uriString])) {
            self::$connectionList[$uriString] = Factory::getDbRelationalInstance($uriString);

            if (self::$transaction) {
                self::$connectionList[$uriString]->beginTransaction();
            }
        }

        return self::$connectionList[$uriString];
    }
public function addConnection ( $ uriString ) { if ( ! isset ( self :: $ connectionList [ $ uriString ] ) ) { self :: $ connectionList [ $ uriString ] = Factory :: getDbRelationalInstance ( $ uriString ) ; if ( self :: $ transaction ) { self :: $ connectionList [ $ uriString ] -> beginTransaction ( ) ; } } return self :: $ connectionList [ $ uriString ] ; }
Add or reuse a connection

@param $uriString
@return \ByJG\AnyDataset\Db\DbDriverInterface
Add or reuse a connection