You are here

PostPackageEventListenerInterface.php in Drupal 10

File

composer/Plugin/Scaffold/PostPackageEventListenerInterface.php
View source
<?php

namespace Drupal\Composer\Plugin\Scaffold;

use Composer\Installer\PackageEvent;

/**
 * Interface for post package event listeners.
 *
 * @see \Drupal\Composer\Plugin\Scaffold\Handler::onPostPackageEvent
 *
 * @internal
 */
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);

}

Interfaces

Namesort descending Description
PostPackageEventListenerInterface Interface for post package event listeners.