You are here

public function DrupalPackageBuilder::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 composer/Generator/Builder/DrupalPackageBuilder.php \Drupal\Composer\Generator\Builder\DrupalPackageBuilder::__construct()

DrupalPackageBuilder constructor.

Parameters

\Drupal\Composer\Generator\Util\DrupalCoreComposer $drupalCoreInfo: Information about composer.json and composer.lock from current release.

Overrides BuilderInterface::__construct

File

composer/Generator/Builder/DrupalPackageBuilder.php, line 26

Class

DrupalPackageBuilder
Base class that includes helpful utility routine for Drupal builder classes.

Namespace

Drupal\Composer\Generator\Builder

Code

public function __construct(DrupalCoreComposer $drupalCoreInfo) {
  $this->drupalCoreInfo = $drupalCoreInfo;
}