You are here

public function PluginState::getDuplicateLinks in Zircon Profile 8

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

Get duplicate packages

Parameters

string $type Package type:

Return value

array

File

vendor/wikimedia/composer-merge-plugin/src/Merge/PluginState.php, line 284

Class

PluginState
Mutable plugin state

Namespace

Wikimedia\Composer\Merge

Code

public function getDuplicateLinks($type) {
  return isset($this->duplicateLinks[$type]) ? $this->duplicateLinks[$type] : array();
}