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

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 ComposerJson\normalizeVersion().

Member Data Documentation

◆ $contents

array [] ComposerInstalled::$contents
private

Definition at line 13 of file ComposerInstalled.php.


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