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

Breadcrumb

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

function InstallationManager::download

Executes download operation.

@phpstan-return PromiseInterface<void|null>|null

File

vendor/composer/composer/src/Composer/Installer/InstallationManager.php, line 448

Class

InstallationManager
Package operation manager.

Namespace

Composer\Installer

Code

public function download(PackageInterface $package) : ?PromiseInterface {
    $installer = $this->getInstaller($package->getType());
    $promise = $installer->cleanup("install", $package);
    return $promise;
}

API Navigation

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