MediaWiki  1.30.0
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. More...
 

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 14 of file ComposerLock.php.

References contents.

Member Function Documentation

◆ getInstalledDependencies()

ComposerLock::getInstalledDependencies ( )

Dependencies currently installed according to composer.lock.

Returns
array

Definition at line 23 of file ComposerLock.php.

References as, contents, and ComposerJson\normalizeVersion().


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