MediaWiki
1.33.0
|
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. More... | |
Static Public Member Functions | |
static | normalizeVersion ( $version) |
Strip a leading "v" from the version name. More... | |
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 | ) |
ComposerJson::getRequiredDependencies | ( | ) |
Dependencies as specified by composer.json.
Definition at line 23 of file ComposerJson.php.
References as, contents, and normalizeVersion().
|
static |
Strip a leading "v" from the version name.
string | $version |
Definition at line 42 of file ComposerJson.php.
Referenced by ComposerInstalled\getInstalledDependencies(), ComposerLock\getInstalledDependencies(), getRequiredDependencies(), and ComposerJsonTest\testNormalizeVersion().