public function ArchiverInterface::listContents

Lists all files in the archive.

Return value

array An array of file names relative to the root of the archive.

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

File

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

Class

ArchiverInterface
Defines the common interface for all Archiver classes.

Namespace

Drupal\Component\Archiver

Code

public function listContents();