FOFPlatform::checkVersion
Performs a check between two versions. Use this function instead of PHP version_compare so we can mock it while testing
Signature
public function checkVersion(string
$version1,
string
$version2,
string
$operator )
Parameters
-
$version1
- First version number
-
$version2
- Second version number
-
$operator
- Operator (see version_compare for valid operators)
Returns
- boolean