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

Breadcrumb

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

function ProjectInstaller::__construct

File

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

Class

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

Namespace

Composer\Installer

Code

public function __construct(string $installPath, DownloadManager $dm, Filesystem $fs) {
    $this->installPath = rtrim(strtr($installPath, '\\', '/'), '/') . '/';
    $this->downloadManager = $dm;
    $this->filesystem = $fs;
}

API Navigation

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