Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. VendorHardeningPlugin.php

function VendorHardeningPlugin::onPostCmd

POST_UPDATE_CMD and POST_INSTALL_CMD event handler.

Parameters

\Composer\Script\Event $event: The Composer event.

File

composer/Plugin/VendorHardening/VendorHardeningPlugin.php, line 114

Class

VendorHardeningPlugin
A Composer plugin to clean out your project's vendor directory.

Namespace

Drupal\Composer\Plugin\VendorHardening

Code

public function onPostCmd(Event $event) : void {
    $this->cleanAllPackages();
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal