public function log(string $file, int $batch): void
    {
        $stmt = $this->pdo->prepare("insert into {$this->table} (migration, batch) values (?, ?)");
        $stmt->bindParam(1, $file);
        $stmt->bindParam(2, $batch, PDO::PARAM_INT);
        $stmt->execute();
    }
public function log(string $file, int $batch): void
    {
        $stmt = $this->pdo->prepare("insert into {$this->table} (migration, batch) values (?, ?)");
        $stmt->bindParam(1, $file);
        $stmt->bindParam(2, $batch, PDO::PARAM_INT);
        $stmt->execute();
    }
public function log ( string $ file , int $ batch ) : void { $ stmt = $ this -> pdo -> prepare ( "insert into {$this->table} (migration, batch) values (?, ?)" ) ; $ stmt -> bindParam ( 1 , $ file ) ; $ stmt -> bindParam ( 2 , $ batch , PDO :: PARAM_INT ) ; $ stmt -> execute ( ) ; }
Log that a migration was run.

@param  string $file
@param  int $batch
@return void
Log that a migration was run .