MediaWiki master
Wikimedia\Composer\ComposerLock Class Reference

Reads a composer.lock file and provides accessors to get its hash and what is installed. More...

Public Member Functions

 __construct ( $location)
 
 getInstalledDependencies ()
 Dependencies currently installed according to composer.lock.
 

Detailed Description

Reads a composer.lock file and provides accessors to get its hash and what is installed.

Since
1.25

Definition at line 11 of file ComposerLock.php.

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\Composer\ComposerLock::__construct ( $location)
Parameters
string$location

Definition at line 21 of file ComposerLock.php.

Member Function Documentation

◆ getInstalledDependencies()

Wikimedia\Composer\ComposerLock::getInstalledDependencies ( )

Dependencies currently installed according to composer.lock.

Returns
array[]

Definition at line 30 of file ComposerLock.php.

References Wikimedia\Composer\ComposerJson\normalizeVersion().


The documentation for this class was generated from the following file: