function BuilderInterface::getPackage

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

Generate the Composer.json data for the current tag or branch.

Return value

array Composer json data.

3 methods override BuilderInterface::getPackage()
DrupalCoreRecommendedBuilder::getPackage in composer/Generator/Builder/DrupalCoreRecommendedBuilder.php
Generate the Composer.json data for the current tag or branch.
DrupalDevDependenciesBuilder::getPackage in composer/Generator/Builder/DrupalDevDependenciesBuilder.php
Generate the Composer.json data for the current tag or branch.
DrupalPinnedDevDependenciesBuilder::getPackage in composer/Generator/Builder/DrupalPinnedDevDependenciesBuilder.php
Generate the Composer.json data for the current tag or branch.

File

composer/Generator/BuilderInterface.php, line 42

Class

BuilderInterface
Produce the output for a metapackage.

Namespace

Drupal\Composer\Generator

Code

public function getPackage();

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