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\DependencyResolverCode
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;
}