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

Breadcrumb

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

function Loop::__construct

File

vendor/composer/composer/src/Composer/Util/Loop.php, line 33

Class

Loop
@author Jordi Boggiano <j.boggiano@seld.be>

Namespace

Composer\Util

Code

public function __construct(HttpDownloader $httpDownloader, ?ProcessExecutor $processExecutor = null) {
    $this->httpDownloader = $httpDownloader;
    $this->httpDownloader
        ->enableAsync();
    $this->processExecutor = $processExecutor;
    if ($this->processExecutor) {
        $this->processExecutor
            ->enableAsync();
    }
}

API Navigation

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