You are here

public function ExtraPackage::getRequires in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/wikimedia/composer-merge-plugin/src/Merge/ExtraPackage.php \Wikimedia\Composer\Merge\ExtraPackage::getRequires()

Get list of additional packages to require if precessing recursively.

Return value

array

File

vendor/wikimedia/composer-merge-plugin/src/Merge/ExtraPackage.php, line 91

Class

ExtraPackage
Processing for a composer.json file that will be merged into a RootPackageInterface

Namespace

Wikimedia\Composer\Merge

Code

public function getRequires() {
  return isset($this->json['extra']['merge-plugin']['require']) ? $this->json['extra']['merge-plugin']['require'] : array();
}