original_string: 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];
      }
code: 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];
      }
code_tokens: 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 ] ; }
docstring: Add or reuse a connection
  
  @param $uriString
  @return \ByJG\AnyDataset\Db\DbDriverInterface
docstring_tokens: Add or reuse a connection