interface PostPackageEventListenerInterface

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

Title Sort descending Modifiers Object type Summary Overrides
PostPackageEventListenerInterface::event public function Handles package events during a 'composer require' operation. 1

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