Defines a archiver implementation for .zip files.
@link http://php.net/zip
Hierarchy
- class \Drupal\Core\Archiver\Zip implements ArchiverInterface
File
- core/lib/Drupal/Core/Archiver/Zip.php, line 10
Namespace
Drupal\Core\Archiver
Members
| Name | Modifiers | Type | Description |
|---|---|---|---|
| Zip::$zip | protected | property | The underlying ZipArchive instance that does the heavy lifting. |
| Zip::add | public | function | Adds the specified file or directory to the archive. Overrides ArchiverInterface::add |
| Zip::extract | public | function | Extracts multiple files in the archive to the specified path. Overrides ArchiverInterface::extract |
| Zip::getArchive | public | function | Retrieves the zip engine itself. |
| Zip::listContents | public | function | Lists all files in the archive. Overrides ArchiverInterface::listContents |
| Zip::remove | public | function | Removes the specified file from the archive. Overrides ArchiverInterface::remove |
| Zip::__construct | public | function | Constructs a Zip object. |
Please login to continue.