class DrupalPackageBuilder
Base class that includes helpful utility routine for Drupal builder classes.
Hierarchy
- class \Drupal\Composer\Generator\Builder\DrupalPackageBuilder implements \Drupal\Composer\Generator\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
| Title Sort descending | Modifiers | Object type | Summary | Overriden Title | Overrides | 
|---|---|---|---|---|---|
| BuilderInterface::getPackage | public | function | Generate the Composer.json data for the current tag or branch. | 3 | |
| BuilderInterface::getPath | public | function | Return the path to where the metapackage should be written. | 3 | |
| DrupalPackageBuilder::$drupalCoreInfo | protected | property | Information about composer.json, composer.lock etc. in current release. | ||
| DrupalPackageBuilder::__construct | public | function | DrupalPackageBuilder constructor. | Overrides BuilderInterface::__construct | 
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
