public function compareVersions($versionA, $versionB)
    {
        $versionA = $this->versionParser->normalize($versionA);
        $versionB = $this->versionParser->normalize($versionB);

        if (Comparator::lessThan($versionA, $versionB)) {
            return -1;
        }

        if (Comparator::greaterThan($versionA, $versionB)) {
            return 1;
        }

        return 0;
    }
public function compareVersions($versionA, $versionB)
    {
        $versionA = $this->versionParser->normalize($versionA);
        $versionB = $this->versionParser->normalize($versionB);

        if (Comparator::lessThan($versionA, $versionB)) {
            return -1;
        }

        if (Comparator::greaterThan($versionA, $versionB)) {
            return 1;
        }

        return 0;
    }
public function compareVersions ( $ versionA , $ versionB ) { $ versionA = $ this -> versionParser -> normalize ( $ versionA ) ; $ versionB = $ this -> versionParser -> normalize ( $ versionB ) ; if ( Comparator :: lessThan ( $ versionA , $ versionB ) ) { return - 1 ; } if ( Comparator :: greaterThan ( $ versionA , $ versionB ) ) { return 1 ; } return 0 ; }
{@inheritdoc}
{