|
MediaWiki
master
|
Reads a composer.json file and provides accessors to get its hash and the required dependencies. More...
Public Member Functions | |
| __construct ($location) | |
| getHash () | |
| 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::getHash | ( | ) |
Definition at line 19 of file ComposerJson.php.
| ComposerJson::getRequiredDependencies | ( | ) |
Dependencies as specified by composer.json.
Definition at line 28 of file ComposerJson.php.
|
static |
Strip a leading "v" from the version name.
| string | $version |
Definition at line 47 of file ComposerJson.php.
References $version.
Referenced by ComposerInstalled\getInstalledDependencies(), ComposerLock\getInstalledDependencies(), and ComposerJsonTest\testNormalizeVersion().