public function destroy()
    {
        foreach (self::$connectionList as $dbDriver) {
            if (self::$transaction) {
                $dbDriver->commitTransaction();
            }
        }
        self::$transaction = false;
        self::$connectionList = [];
    }
public function destroy()
    {
        foreach (self::$connectionList as $dbDriver) {
            if (self::$transaction) {
                $dbDriver->commitTransaction();
            }
        }
        self::$transaction = false;
        self::$connectionList = [];
    }
public function destroy ( ) { foreach ( self :: $ connectionList as $ dbDriver ) { if ( self :: $ transaction ) { $ dbDriver -> commitTransaction ( ) ; } } self :: $ transaction = false ; self :: $ connectionList = [ ] ; }
Destroy all connections
Destroy all connections