MediaWiki master
|
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 11 of file ComposerJson.php.
Wikimedia\Composer\ComposerJson::__construct | ( | $location | ) |
string | $location |
Definition at line 20 of file ComposerJson.php.
Wikimedia\Composer\ComposerJson::getRequiredDependencies | ( | ) |
Dependencies as specified by composer.json.
Definition at line 29 of file ComposerJson.php.
References Wikimedia\Composer\ComposerJson\normalizeVersion().
|
static |
Strip a leading "v" from the version name.
string | $version |
Definition at line 50 of file ComposerJson.php.
Referenced by Wikimedia\Composer\ComposerInstalled\getInstalledDependencies(), Wikimedia\Composer\ComposerLock\getInstalledDependencies(), and Wikimedia\Composer\ComposerJson\getRequiredDependencies().