public function beginTransaction()
    {
        if (self::$transaction) {
            throw new TransactionException("Transaction Already Started");
        }

        self::$transaction = true;
        foreach (self::$connectionList as $dbDriver) {
            $dbDriver->beginTransaction();
        }
    }
public function beginTransaction()
    {
        if (self::$transaction) {
            throw new TransactionException("Transaction Already Started");
        }

        self::$transaction = true;
        foreach (self::$connectionList as $dbDriver) {
            $dbDriver->beginTransaction();
        }
    }
public function beginTransaction ( ) { if ( self :: $ transaction ) { throw new TransactionException ( "Transaction Already Started" ) ; } self :: $ transaction = true ; foreach ( self :: $ connectionList as $ dbDriver ) { $ dbDriver -> beginTransaction ( ) ; } }
Start a database transaction with the opened connections

@throws \ByJG\MicroOrm\Exception\TransactionException
Start a database transaction with the opened connections