You are here

public function PostPackageEventListenerInterface::event in Drupal 9

Same name and namespace in other branches
  1. 8 composer/Plugin/Scaffold/PostPackageEventListenerInterface.php \Drupal\Composer\Plugin\Scaffold\PostPackageEventListenerInterface::event()

Handles package events during a 'composer require' operation.

Parameters

\Composer\Installer\PackageEvent $event: Composer package event sent on install/update/remove.

1 method overrides PostPackageEventListenerInterface::event()
AllowedPackages::event in composer/Plugin/Scaffold/AllowedPackages.php
Handles package events during a 'composer require' operation.

File

composer/Plugin/Scaffold/PostPackageEventListenerInterface.php, line 22

Class

PostPackageEventListenerInterface
Interface for post package event listeners.

Namespace

Drupal\Composer\Plugin\Scaffold

Code

public function event(PackageEvent $event);