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

Breadcrumb

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

function DownloaderInterface::install

Installs specific package into specific folder.

@phpstan-return PromiseInterface<void|null>

Parameters

PackageInterface $package package instance:

string $path download path:

2 methods override DownloaderInterface::install()
FileDownloader::install in vendor/composer/composer/src/Composer/Downloader/FileDownloader.php
@inheritDoc
VcsDownloader::install in vendor/composer/composer/src/Composer/Downloader/VcsDownloader.php
@inheritDoc

File

vendor/composer/composer/src/Composer/Downloader/DownloaderInterface.php, line 64

Class

DownloaderInterface
Downloader interface.

Namespace

Composer\Downloader

Code

public function install(PackageInterface $package, string $path) : PromiseInterface;

API Navigation

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