function PostPackageEventListenerInterface::event

Same name in other branches
  1. 8.9.x composer/Plugin/Scaffold/PostPackageEventListenerInterface.php \Drupal\Composer\Plugin\Scaffold\PostPackageEventListenerInterface::event()
  2. 10 composer/Plugin/Scaffold/PostPackageEventListenerInterface.php \Drupal\Composer\Plugin\Scaffold\PostPackageEventListenerInterface::event()
  3. 11.x 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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.