function RootComposer::getComposerLockedContent

Gets the locked root composer.json content.

Return value

array<string, mixed> The locked root composer.json content.

1 call to RootComposer::getComposerLockedContent()
RootComposer::writeFiles in composer/Plugin/RecipeUnpack/RootComposer.php
Writes the root composer files.

File

composer/Plugin/RecipeUnpack/RootComposer.php, line 54

Class

RootComposer
Provides access to and manipulation of the root composer files.

Namespace

Drupal\Composer\Plugin\RecipeUnpack

Code

public function getComposerLockedContent() : array {
    $this->composerLockedContent ??= $this->composer
        ->getLocker()
        ->getLockData();
    return $this->composerLockedContent;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.