function VendorHardeningPlugin::onPostPackageUpdate
Same name in other branches
- 9 composer/Plugin/VendorHardening/VendorHardeningPlugin.php \Drupal\Composer\Plugin\VendorHardening\VendorHardeningPlugin::onPostPackageUpdate()
- 8.9.x composer/Plugin/VendorHardening/VendorHardeningPlugin.php \Drupal\Composer\Plugin\VendorHardening\VendorHardeningPlugin::onPostPackageUpdate()
- 11.x composer/Plugin/VendorHardening/VendorHardeningPlugin.php \Drupal\Composer\Plugin\VendorHardening\VendorHardeningPlugin::onPostPackageUpdate()
POST_PACKAGE_UPDATE event handler.
Parameters
\Composer\Installer\PackageEvent $event: The package event.
File
-
composer/
Plugin/ VendorHardening/ VendorHardeningPlugin.php, line 156
Class
- VendorHardeningPlugin
- A Composer plugin to clean out your project's vendor directory.
Namespace
Drupal\Composer\Plugin\VendorHardeningCode
public function onPostPackageUpdate(PackageEvent $event) {
$this->cleanPackage($event->getOperation()
->getTargetPackage());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.