MediaWiki REL1_40
|
Reads a composer.json file and provides accessors to get its hash and the required dependencies. More...
Public Member Functions | |
__construct ( $location) | |
getRequiredDependencies () | |
Dependencies as specified by composer.json. | |
Static Public Member Functions | |
static | normalizeVersion ( $version) |
Strip a leading "v" from the version name. | |
Reads a composer.json file and provides accessors to get its hash and the required dependencies.
Definition at line 9 of file ComposerJson.php.
ComposerJson::__construct | ( | $location | ) |
string | $location |
Definition at line 18 of file ComposerJson.php.
ComposerJson::getRequiredDependencies | ( | ) |
Dependencies as specified by composer.json.
Definition at line 27 of file ComposerJson.php.
References normalizeVersion().
|
static |
Strip a leading "v" from the version name.
string | $version |
Definition at line 48 of file ComposerJson.php.
Referenced by ComposerInstalled\getInstalledDependencies(), ComposerLock\getInstalledDependencies(), and getRequiredDependencies().