function Config::__construct

Construct a Config object.

Parameters

\Composer\Package\RootPackageInterface $root_package: Composer package object for the root package.

File

composer/Plugin/VendorHardening/Config.php, line 105

Class

Config
Determine configuration.

Namespace

Drupal\Composer\Plugin\VendorHardening

Code

public function __construct(RootPackageInterface $root_package) {
  $this->rootPackage = $root_package;
}

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