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

Breadcrumb

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

function RepositoryManager::__construct

File

vendor/composer/composer/src/Composer/Repository/RepositoryManager.php, line 48

Class

RepositoryManager
Repositories manager.

Namespace

Composer\Repository

Code

public function __construct(IOInterface $io, Config $config, HttpDownloader $httpDownloader, ?EventDispatcher $eventDispatcher = null, ?ProcessExecutor $process = null) {
    $this->io = $io;
    $this->config = $config;
    $this->httpDownloader = $httpDownloader;
    $this->eventDispatcher = $eventDispatcher;
    $this->process = $process ?? new ProcessExecutor($io);
}
RSS feed
Powered by Drupal