VersionParser

class OC\App\AppStore\Version\VersionParser
Class VersionParser parses the versions as sent by the Nextcloud app store
Source:lib/private/App/AppStore/Version/VersionParser.php#33

Methods

public OC\App\AppStore\Version\VersionParser::getVersion($versionSpec)
Returns the version for a version string
Source:

lib/private/App/AppStore/Version/VersionParser.php#49

Parameters:
  • $versionSpec (string)
Returns:

\OC\App\AppStore\Version\Version

Throws:

\Exception If the version cannot be parsed