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

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

References contents.

Member Function Documentation

◆ getInstalledDependencies()

ComposerInstalled::getInstalledDependencies ( )

Dependencies currently installed according to installed.json.

Returns
array

Definition at line 23 of file ComposerInstalled.php.

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


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