You are here

public function TarArchiveWriter::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 ArchiveWriterInterface::closeArchive

File

lib/backup_migrate_core/src/Service/TarArchiveWriter.php, line 201

Class

TarArchiveWriter
Class TarArchiver.

Namespace

BackupMigrate\Core\Service

Code

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