original_string: public function beginTransaction()
      {
          if (self::$transaction) {
              throw new TransactionException("Transaction Already Started");
          }
  
          self::$transaction = true;
          foreach (self::$connectionList as $dbDriver) {
              $dbDriver->beginTransaction();
          }
      }
code: public function beginTransaction()
      {
          if (self::$transaction) {
              throw new TransactionException("Transaction Already Started");
          }
  
          self::$transaction = true;
          foreach (self::$connectionList as $dbDriver) {
              $dbDriver->beginTransaction();
          }
      }
code_tokens: public function beginTransaction ( ) { if ( self :: $ transaction ) { throw new TransactionException ( "Transaction Already Started" ) ; } self :: $ transaction = true ; foreach ( self :: $ connectionList as $ dbDriver ) { $ dbDriver -> beginTransaction ( ) ; } }
docstring: Start a database transaction with the opened connections
  
  @throws \ByJG\MicroOrm\Exception\TransactionException
docstring_tokens: Start a database transaction with the opened connections