Final Class Yiisoft\Config\Composer\MergePlanProcess
| Inheritance | Yiisoft\ |
|---|
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Yiisoft\ |
Method Details
| public mixed __construct ( \ | ||
| $composer | \ |
The composer instance. |
public function __construct(
private readonly Composer $composer,
) {
$this->mergePlan = new MergePlan();
$this->helper = new ProcessHelper($composer);
if (!$this->helper->shouldBuildMergePlan()) {
return;
}
$this->addPackagesConfigsToMergePlan(false);
$this->addPackagesConfigsToMergePlan(true);
$this->addRootPackageConfigToMergePlan();
$this->addEnvironmentsConfigsToMergePlan();
$this->updateMergePlan();
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.