You are here

public function TarArchiveReader::closeArchive in Backup and Migrate 8.4

This will be called when all files have been added. It gives the implementation a chance to clean up and commit the changes if needed.

Return value

mixed

Overrides ArchiveReaderInterface::closeArchive

File

lib/backup_migrate_core/src/Service/TarArchiveReader.php, line 388

Class

TarArchiveReader
Class TarArchiveReader.

Namespace

BackupMigrate\Core\Service

Code

public function closeArchive() {
  if ($this->archive) {
    $this->archive
      ->close();
  }
}