PostPackageEventListenerInterface.php in Drupal 10
Same filename and directory in other branches
Namespace
Drupal\Composer\Plugin\ScaffoldFile
composer/Plugin/Scaffold/PostPackageEventListenerInterface.phpView 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
Name | Description |
---|---|
PostPackageEventListenerInterface | Interface for post package event listeners. |