1 system.archiver.inc public ArchiverZip::getArchive()

Retrieve the zip engine itself.

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

Return value

The ZipArchive object used by this object.:

File

core/modules/system/system.archiver.inc, line 136
Archiver implementations provided by the system module.

Class

ArchiverZip
Archiver for .zip files.

Code

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