interface PostPackageEventListenerInterface in Drupal 10
Same name and namespace in other branches
- 8 composer/Plugin/Scaffold/PostPackageEventListenerInterface.php \Drupal\Composer\Plugin\Scaffold\PostPackageEventListenerInterface
- 9 composer/Plugin/Scaffold/PostPackageEventListenerInterface.php \Drupal\Composer\Plugin\Scaffold\PostPackageEventListenerInterface
Interface for post package event listeners.
@internal
Hierarchy
- interface \Drupal\Composer\Plugin\Scaffold\PostPackageEventListenerInterface
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\ScaffoldView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PostPackageEventListenerInterface:: |
public | function | Handles package events during a 'composer require' operation. | 1 |