public function ExtraPackage::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/wikimedia/composer-merge-plugin/src/Merge/ExtraPackage.php \Wikimedia\Composer\Merge\ExtraPackage::__construct()
Parameters
string $path Path to composer.json file:
Composer $composer:
Logger $logger:
File
- vendor/
wikimedia/ composer-merge-plugin/ src/ Merge/ ExtraPackage.php, line 66
Class
- ExtraPackage
- Processing for a composer.json file that will be merged into a RootPackageInterface
Namespace
Wikimedia\Composer\MergeCode
public function __construct($path, Composer $composer, Logger $logger) {
$this->path = $path;
$this->composer = $composer;
$this->logger = $logger;
$this->json = $this
->readPackageJson($path);
$this->package = $this
->loadPackage($this->json);
}