MediaWiki  1.34.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...
 

Private Attributes

array[] $contents
 

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

Member Function Documentation

◆ getInstalledDependencies()

ComposerLock::getInstalledDependencies ( )

Dependencies currently installed according to composer.lock.

Returns
array[]

Definition at line 27 of file ComposerLock.php.

References ComposerJson\normalizeVersion().

Member Data Documentation

◆ $contents

array [] ComposerLock::$contents
private

Definition at line 13 of file ComposerLock.php.


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