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

Breadcrumb

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

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\Installer

Code

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

API Navigation

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