You are here

public function TarArchiveReader::closeArchive in Backup and Migrate 5.0.x

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

src/Core/Service/TarArchiveReader.php, line 397

Class

TarArchiveReader
@package Drupal\backup_migrate\Core\Service

Namespace

Drupal\backup_migrate\Core\Service

Code

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