public static function checkBrowserEdge()
    {
        if (stripos(self::$userAgentString, 'Edge') !== false) {
            $version = explode('Edge/', self::$userAgentString);
            if (isset($version[1])) {
                self::$browser->setVersion((float)$version[1]);
            }
            self::$browser->setName(Browser::EDGE);

            return true;
        }

        return false;
    }
public static function checkBrowserEdge()
    {
        if (stripos(self::$userAgentString, 'Edge') !== false) {
            $version = explode('Edge/', self::$userAgentString);
            if (isset($version[1])) {
                self::$browser->setVersion((float)$version[1]);
            }
            self::$browser->setName(Browser::EDGE);

            return true;
        }

        return false;
    }
public static function checkBrowserEdge ( ) { if ( stripos ( self :: $ userAgentString , 'Edge' ) !== false ) { $ version = explode ( 'Edge/' , self :: $ userAgentString ) ; if ( isset ( $ version [ 1 ] ) ) { self :: $ browser -> setVersion ( ( float ) $ version [ 1 ] ) ; } self :: $ browser -> setName ( Browser :: EDGE ) ; return true ; } return false ; }
Determine if the browser is Microsoft Edge.

@return bool
Determine if the browser is Microsoft Edge .