Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ZipDownloader.php

function ZipDownloader::extract

extract $file to $path

Parameters

string $file File to extract:

string $path Path where to extract file:

Overrides ArchiveDownloader::extract

File

vendor/composer/composer/src/Composer/Downloader/ZipDownloader.php, line 267

Class

ZipDownloader
@author Jordi Boggiano <j.boggiano@seld.be>

Namespace

Composer\Downloader

Code

protected function extract(PackageInterface $package, string $file, string $path) : PromiseInterface {
    return $this->extractWithSystemUnzip($package, $file, $path);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal