function UnpackCollection::markPackageUnpacked

Marks a package as unpacked.

Parameters

\Composer\Package\PackageInterface $package: The package that has been unpacked.

File

composer/Plugin/RecipeUnpack/UnpackCollection.php, line 87

Class

UnpackCollection
A collection with packages to unpack.

Namespace

Drupal\Composer\Plugin\RecipeUnpack

Code

public function markPackageUnpacked(PackageInterface $package) : void {
    $this->unpackedPackages[$package->getUniqueName()] = $package;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.