public function Tar::getArchive

public 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 87

Class

Tar
Defines a archiver implementation for .tar files.

Namespace

Drupal\Core\Archiver

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Archiver!Tar.php/function/Tar::getArchive/8.1.x