private static function checkFreeBSD(Os $os, UserAgent $userAgent)
    {
        if (stripos($userAgent->getUserAgentString(), 'FreeBSD') !== false) {
            $os->setVersion($os::VERSION_UNKNOWN);
            $os->setName($os::FREEBSD);

            return true;
        }

        return false;
    }
private static function checkFreeBSD(Os $os, UserAgent $userAgent)
    {
        if (stripos($userAgent->getUserAgentString(), 'FreeBSD') !== false) {
            $os->setVersion($os::VERSION_UNKNOWN);
            $os->setName($os::FREEBSD);

            return true;
        }

        return false;
    }
private static function checkFreeBSD ( Os $ os , UserAgent $ userAgent ) { if ( stripos ( $ userAgent -> getUserAgentString ( ) , 'FreeBSD' ) !== false ) { $ os -> setVersion ( $ os :: VERSION_UNKNOWN ) ; $ os -> setName ( $ os :: FREEBSD ) ; return true ; } return false ; }
Determine if the user's operating system is FreeBSD.

@param Os $os
@param UserAgent $userAgent

@return bool
Determine if the user s operating system is FreeBSD .