| 1 | <?php |
||
| 14 | trait ValidatesSemVer |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * Checks if the string is a valid string representation of a version. |
||
| 18 | * |
||
| 19 | * @see http://semver.org Semantic Versioning Specification (SemVer) |
||
| 20 | * |
||
| 21 | * @param string $versionStr |
||
| 22 | * |
||
| 23 | * @return bool |
||
| 24 | */ |
||
| 25 | 10 | public static function validateVersion($versionStr) |
|
| 29 | } |
||
| 30 |