function Unpacker::__construct

File

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

Class

Unpacker
Handles the details of unpacking a specific recipe.

Namespace

Drupal\Composer\Plugin\RecipeUnpack

Code

public function __construct(private PackageInterface $package, private Composer $composer, private RootComposer $rootComposer, private UnpackCollection $unpackCollection, private UnpackOptions $unpackOptions, private IOInterface $io) {
  $this->versionParser = new VersionParser();
}

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