MediaWiki fundraising/REL1_35
ComposerInstalled Class Reference

Reads an installed.json file and provides accessors to get what is installed. More...

Public Member Functions

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

Private Attributes

array[] $contents
 

Detailed Description

Reads an installed.json file and provides accessors to get what is installed.

Since
1.27

Definition at line 9 of file ComposerInstalled.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 18 of file ComposerInstalled.php.

Member Function Documentation

◆ getInstalledDependencies()

ComposerInstalled::getInstalledDependencies ( )

Dependencies currently installed according to installed.json.

Returns
array[]

Definition at line 27 of file ComposerInstalled.php.

References $contents, and ComposerJson\normalizeVersion().

Member Data Documentation

◆ $contents

array [] ComposerInstalled::$contents
private

Definition at line 13 of file ComposerInstalled.php.

Referenced by getInstalledDependencies().


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