function UnpackCollection::add
Adds a package to the queue of packages to unpack.
Parameters
\Composer\Package\PackageInterface $package: The package to add to the queue.
File
-
composer/
Plugin/ RecipeUnpack/ UnpackCollection.php, line 76
Class
- UnpackCollection
- A collection with packages to unpack.
Namespace
Drupal\Composer\Plugin\RecipeUnpackCode
public function add(PackageInterface $package) : self {
$this->packagesToUnpack[$package->getUniqueName()] = $package;
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.