public function ArchiverInterface::remove

Removes the specified file from the archive.

Parameters

string $path: The file name relative to the root of the archive to remove.

Return value

Drupal\Component\Archiver\ArchiverInterface The called object.

2 methods override ArchiverInterface::remove()
Tar::remove in drupal/core/lib/Drupal/Component/Archiver/Tar.php
Implements Drupal\Component\Archiver\ArchiveInterface::remove().
Zip::remove in drupal/core/lib/Drupal/Component/Archiver/Zip.php
Implements Drupal\Component\Archiver\ArchiveInterface::remove().

File

drupal/core/lib/Drupal/Component/Archiver/ArchiverInterface.php, line 36
Definition of Drupal\Component\Archiver\ArchiverInterface.

Class

ArchiverInterface
Defines the common interface for all Archiver classes.

Namespace

Drupal\Component\Archiver

Code

public function remove($path);