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

Breadcrumb

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

function ProjectInstaller::prepare

@inheritDoc

Overrides InstallerInterface::prepare

File

vendor/composer/composer/src/Composer/Installer/ProjectInstaller.php, line 78

Class

ProjectInstaller
Project Installer is used to install a single package into a directory as root project.

Namespace

Composer\Installer

Code

public function prepare($type, PackageInterface $package, ?PackageInterface $prevPackage = null) : ?PromiseInterface {
    return $this->downloadManager
        ->prepare($type, $package, $this->installPath, $prevPackage);
}

API Navigation

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