function PrePoolCreateEvent::__construct
@phpstan-param array<string, 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
string $name The event name:
RepositoryInterface[] $repositories:
int[] $acceptableStabilities array of stability => BasePackage::STABILITY_* value:
int[] $stabilityFlags array of package name => BasePackage::STABILITY_* value:
array[] $rootAliases array of package => version => [alias, alias_normalized]:
string[] $rootReferences:
BasePackage[] $packages:
BasePackage[] $unacceptableFixedPackages:
Overrides Event::__construct
File
-
vendor/
composer/ composer/ src/ Composer/ Plugin/ PrePoolCreateEvent.php, line 79
Class
- PrePoolCreateEvent
- The pre command run event.
Namespace
Composer\PluginCode
public function __construct(string $name, array $repositories, Request $request, array $acceptableStabilities, array $stabilityFlags, array $rootAliases, array $rootReferences, array $packages, array $unacceptableFixedPackages) {
parent::__construct($name);
$this->repositories = $repositories;
$this->request = $request;
$this->acceptableStabilities = $acceptableStabilities;
$this->stabilityFlags = $stabilityFlags;
$this->rootAliases = $rootAliases;
$this->rootReferences = $rootReferences;
$this->packages = $packages;
$this->unacceptableFixedPackages = $unacceptableFixedPackages;
}