src/Migrations/DoctrineMigrationRepository.php
public function log($file, $batch) {
        $migration = new Migration($file, $batch);
        $this->getEntities()->persist($migration);
        $this->getEntities()->flush();
    }
public function log($file, $batch) {
        $migration = new Migration($file, $batch);
        $this->getEntities()->persist($migration);
        $this->getEntities()->flush();
    }
Log that a migration was run.

@param  string  $file
@param  int     $batch
@return void