function Unpacker::unpackDependencies

Unpacks the package's dependencies to the root composer.json and lock file.

File

composer/Plugin/RecipeUnpack/Unpacker.php, line 37

Class

Unpacker
Handles the details of unpacking a specific recipe.

Namespace

Drupal\Composer\Plugin\RecipeUnpack

Code

public function unpackDependencies() : void {
    $this->updateComposerJsonPackages();
    $this->updateComposerLockContent();
    $this->unpackCollection
        ->markPackageUnpacked($this->package);
}

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