function RootComposer::removeFromComposerLock
Removes an element from the composer lock.
Parameters
string $key: The key of the element to remove.
string $index: The index of the element to remove.
File
-
composer/
Plugin/ RecipeUnpack/ RootComposer.php, line 67
Class
- RootComposer
- Provides access to and manipulation of the root composer files.
Namespace
Drupal\Composer\Plugin\RecipeUnpackCode
public function removeFromComposerLock(string $key, string $index) : void {
unset($this->composerLockedContent[$key][$index]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.