MediaWiki 1.41.2
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 9 of file ComposerLock.php.

Constructor & Destructor Documentation

◆ __construct()

ComposerLock::__construct ( $location)
Parameters
string$location

Definition at line 19 of file ComposerLock.php.

Member Function Documentation

◆ getInstalledDependencies()

ComposerLock::getInstalledDependencies ( )

Dependencies currently installed according to composer.lock.

Returns
array[]

Definition at line 28 of file ComposerLock.php.

References ComposerJson\normalizeVersion().


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