MediaWiki master
Wikimedia\Composer\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.
 

Detailed Description

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

Since
1.27

Definition at line 11 of file ComposerInstalled.php.

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\Composer\ComposerInstalled::__construct ( $location)
Parameters
string$location

Definition at line 20 of file ComposerInstalled.php.

Member Function Documentation

◆ getInstalledDependencies()

Wikimedia\Composer\ComposerInstalled::getInstalledDependencies ( )

Dependencies currently installed according to installed.json.

Returns
array[]

Definition at line 29 of file ComposerInstalled.php.

References Wikimedia\Composer\ComposerJson\normalizeVersion().


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