You are here

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

Set the locked flag

Parameters

bool $flag:

File

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

Class

PluginState
Mutable plugin state

Namespace

Wikimedia\Composer\Merge

Code

public function setLocked($flag) {
  $this->locked = (bool) $flag;
}