Parser/OperatingSystem.php
public static function getOsFamily($osLabel)
    {
        foreach (self::$osFamilies as $family => $labels) {
            if (in_array($osLabel, $labels)) {
                return $family;
            }
        }
        return false;
    }
public static function getOsFamily($osLabel)
    {
        foreach (self::$osFamilies as $family => $labels) {
            if (in_array($osLabel, $labels)) {
                return $family;
            }
        }
        return false;
    }
public static function getOsFamily ( $ osLabel ) { foreach ( self :: $ osFamilies as $ family => $ labels ) { if ( in_array ( $ osLabel , $ labels ) ) { return $ family ; } } return false ; }
Returns the operating system family for the given operating system

@param $osLabel
@return bool|string If false, "Unknown"
Returns the operating system family for the given operating system