PostPackageEventListenerInterface.php
Same filename in other branches
Namespace
Drupal\Composer\Plugin\ScaffoldFile
-
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
Title | Deprecated | Summary |
---|---|---|
PostPackageEventListenerInterface | Interface for post package event listeners. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.