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

Breadcrumb

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

function LibraryInstaller::cleanup

@inheritDoc

Overrides InstallerInterface::cleanup

File

vendor/composer/composer/src/Composer/Installer/LibraryInstaller.php, line 131

Class

LibraryInstaller
Package installation manager.

Namespace

Composer\Installer

Code

public function cleanup($type, PackageInterface $package, ?PackageInterface $prevPackage = null) {
    $this->initializeVendorDir();
    $downloadPath = $this->getInstallPath($package);
    return $this->getDownloadManager()
        ->cleanup($type, $package, $downloadPath, $prevPackage);
}

API Navigation

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