function PackageEvent::__construct
Constructor.
Parameters
OperationInterface[] $operations:
Overrides Event::__construct
File
-
vendor/
composer/ composer/ src/ Composer/ Installer/ PackageEvent.php, line 63
Class
- PackageEvent
- The Package Event.
Namespace
Composer\InstallerCode
public function __construct(string $eventName, Composer $composer, IOInterface $io, bool $devMode, RepositoryInterface $localRepo, array $operations, OperationInterface $operation) {
parent::__construct($eventName);
$this->composer = $composer;
$this->io = $io;
$this->devMode = $devMode;
$this->localRepo = $localRepo;
$this->operations = $operations;
$this->operation = $operation;
}