|
MediaWiki
REL1_23
|
GNU GPL v2+ More...
Public Member Functions | |
| normalizeLevelCount ($version) | |
| Ensures the version has four levels. | |
| normalizeSuffix ($version) | |
| Ensures there is a dash in between the version and the stability suffix. | |
GNU GPL v2+
Definition at line 7 of file ComposerVersionNormalizer.php.
| ComposerVersionNormalizer::normalizeLevelCount | ( | $ | version | ) |
Ensures the version has four levels.
Version suffixes are supported, as long as they start with a dash.
Examples:
| string | $version |
| InvalidArgumentException |
Definition at line 46 of file ComposerVersionNormalizer.php.
| ComposerVersionNormalizer::normalizeSuffix | ( | $ | version | ) |
Ensures there is a dash in between the version and the stability suffix.
Examples:
| string | $version |
| InvalidArgumentException |
Definition at line 23 of file ComposerVersionNormalizer.php.