You are here

interface PostPackageEventListenerInterface in Drupal 8

Same name and namespace in other branches
  1. 9 composer/Plugin/Scaffold/PostPackageEventListenerInterface.php \Drupal\Composer\Plugin\Scaffold\PostPackageEventListenerInterface

Interface for post package event listeners.

@internal

Hierarchy

Expanded class hierarchy of PostPackageEventListenerInterface

All classes that implement PostPackageEventListenerInterface

See also

\Drupal\Composer\Plugin\Scaffold\Handler::onPostPackageEvent

File

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

Namespace

Drupal\Composer\Plugin\Scaffold
View source
interface PostPackageEventListenerInterface {

  /**
   * Handles package events during a 'composer require' operation.
   *
   * @param \Composer\Installer\PackageEvent $event
   *   Composer package event sent on install/update/remove.
   */
  public function event(PackageEvent $event);

}

Members

Namesort descending Modifiers Type Description Overrides
PostPackageEventListenerInterface::event public function Handles package events during a 'composer require' operation. 1