abstract class DrupalPackageBuilder in Drupal 10
Same name and namespace in other branches
- 8 composer/Generator/Builder/DrupalPackageBuilder.php \Drupal\Composer\Generator\Builder\DrupalPackageBuilder
- 9 composer/Generator/Builder/DrupalPackageBuilder.php \Drupal\Composer\Generator\Builder\DrupalPackageBuilder
Base class that includes helpful utility routine for Drupal builder classes.
Hierarchy
- class \Drupal\Composer\Generator\Builder\DrupalPackageBuilder implements BuilderInterface
Expanded class hierarchy of DrupalPackageBuilder
File
- composer/
Generator/ Builder/ DrupalPackageBuilder.php, line 11
Namespace
Drupal\Composer\Generator\BuilderView source
abstract class DrupalPackageBuilder implements BuilderInterface {
/**
* Information about composer.json, composer.lock etc. in current release.
*
* @var \Drupal\Composer\Generator\Util\DrupalCoreComposer
*/
protected $drupalCoreInfo;
/**
* DrupalPackageBuilder constructor.
*
* @param \Drupal\Composer\Generator\Util\DrupalCoreComposer $drupalCoreInfo
* Information about composer.json and composer.lock from current release.
*/
public function __construct(DrupalCoreComposer $drupalCoreInfo) {
$this->drupalCoreInfo = $drupalCoreInfo;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BuilderInterface:: |
public | function | Generate the Composer.json data for the current tag or branch. | 3 |
BuilderInterface:: |
public | function | Return the path to where the metapackage should be written. | 3 |
DrupalPackageBuilder:: |
protected | property | Information about composer.json, composer.lock etc. in current release. | |
DrupalPackageBuilder:: |
public | function |
DrupalPackageBuilder constructor. Overrides BuilderInterface:: |