public function Zip::remove

Implements Drupal\Component\Archiver\ArchiveInterface::remove().

Overrides ArchiverInterface::remove

File

drupal/core/lib/Drupal/Component/Archiver/Zip.php, line 55
Definition of Drupal\Component\Archiver\Zip.

Class

Zip
Defines a archiver implementation for .zip files.

Namespace

Drupal\Component\Archiver

Code

public function remove($file_path) {
  $this->zip
    ->deleteName($file_path);
  return $this;
}