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

Breadcrumb

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

function PoolBuilder::__construct

@phpstan-param array<key-of<BasePackage::STABILITIES>, BasePackage::STABILITY_*> $acceptableStabilities

@phpstan-param array<string, BasePackage::STABILITY_*> $stabilityFlags

@phpstan-param array<string, array<string, array{alias: string, alias_normalized: string}>> $rootAliases

@phpstan-param array<string, string> $rootReferences

Parameters

int[] $acceptableStabilities array of stability => BasePackage::STABILITY_* value:

int[] $stabilityFlags an array of package name => BasePackage::STABILITY_* value:

array[] $rootAliases:

string[] $rootReferences an array of package name => source reference:

array<string, ConstraintInterface> $temporaryConstraints Runtime temporary constraints that will be used to filter packages:

File

vendor/composer/composer/src/Composer/DependencyResolver/PoolBuilder.php, line 165

Class

PoolBuilder
@author Nils Adermann <naderman@naderman.de>

Namespace

Composer\DependencyResolver

Code

public function __construct(array $acceptableStabilities, array $stabilityFlags, array $rootAliases, array $rootReferences, IOInterface $io, ?EventDispatcher $eventDispatcher = null, ?PoolOptimizer $poolOptimizer = null, array $temporaryConstraints = []) {
    $this->acceptableStabilities = $acceptableStabilities;
    $this->stabilityFlags = $stabilityFlags;
    $this->rootAliases = $rootAliases;
    $this->rootReferences = $rootReferences;
    $this->eventDispatcher = $eventDispatcher;
    $this->poolOptimizer = $poolOptimizer;
    $this->io = $io;
    $this->temporaryConstraints = $temporaryConstraints;
}

API Navigation

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