private function executeRollBacks(array $migrations) : void
    {
        $this->connection->beginTransaction();

        foreach ($migrations as $migration) {
            $migration->down();
            $this->executedMigrations->delete(get_class($migration));
        }

        $this->connection->commit();
    }
private function executeRollBacks(array $migrations) : void
    {
        $this->connection->beginTransaction();

        foreach ($migrations as $migration) {
            $migration->down();
            $this->executedMigrations->delete(get_class($migration));
        }

        $this->connection->commit();
    }
private function executeRollBacks ( array $ migrations ) : void { $ this -> connection -> beginTransaction ( ) ; foreach ( $ migrations as $ migration ) { $ migration -> down ( ) ; $ this -> executedMigrations -> delete ( get_class ( $ migration ) ) ; } $ this -> connection -> commit ( ) ; }
Executes the roll backs on a list of migrations

@param IMigration[] $migrations The migrations to execute the down method on
Executes the roll backs on a list of migrations