You are here

public function PackageGenerator::__construct in Drupal 10

Same name and namespace in other branches
  1. 8 composer/Generator/PackageGenerator.php \Drupal\Composer\Generator\PackageGenerator::__construct()
  2. 9 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';
}