You are here

public function Tar::getArchive in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Archiver/Tar.php \Drupal\Core\Archiver\Tar::getArchive()

Retrieves the tar engine itself.

In some cases it may be necessary to directly access the underlying Archive_Tar object for implementation-specific logic. This is for advanced use only as it is not shared by other implementations of ArchiveInterface.

Return value

Archive_Tar The Archive_Tar object used by this object.

File

core/lib/Drupal/Core/Archiver/Tar.php, line 92
Contains \Drupal\Core\Archiver\Tar.

Class

Tar
Defines a archiver implementation for .tar files.

Namespace

Drupal\Core\Archiver

Code

public function getArchive() {
  return $this->tar;
}