function UnpackCollection::isUnpacked
Checks if a package has been unpacked, or it's queued for unpacking.
Parameters
\Composer\Package\PackageInterface $package: The package to check.
Return value
bool TRUE if the package has been unpacked.
File
-
composer/
Plugin/ RecipeUnpack/ UnpackCollection.php, line 100
Class
- UnpackCollection
- A collection with packages to unpack.
Namespace
Drupal\Composer\Plugin\RecipeUnpackCode
public function isUnpacked(PackageInterface $package) : bool {
return isset($this->unpackedPackages[$package->getUniqueName()]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.