function PackageGenerator::__construct

Same name in other branches
  1. 9 composer/Generator/PackageGenerator.php \Drupal\Composer\Generator\PackageGenerator::__construct()
  2. 8.9.x composer/Generator/PackageGenerator.php \Drupal\Composer\Generator\PackageGenerator::__construct()
  3. 11.x composer/Generator/PackageGenerator.php \Drupal\Composer\Generator\PackageGenerator::__construct()

PackageGenerator constructor.

File

composer/Generator/PackageGenerator.php, line 27

Class

PackageGenerator
Generates metapackages.

Namespace

Drupal\Composer\Generator

Code

public function __construct() {
    $this->generatedProjectBaseDir = dirname(__DIR__) . '/Metapackage';
}

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