You are here

public function PluginState::shouldMergeExtra 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::shouldMergeExtra()

Should the extra section be merged?

By default, the extra section is not merged and there will be many cases where the merge of the extra section is performed too late to be of use to other plugins. When enabled, merging uses one of two strategies - either 'first wins' or 'last wins'. When enabled, 'first wins' is the default behaviour. If Replace mode is activated then 'last wins' is used.

Return value

bool

File

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

Class

PluginState
Mutable plugin state

Namespace

Wikimedia\Composer\Merge

Code

public function shouldMergeExtra() {
  return $this->mergeExtra;
}