private function getClientBrowser(\DeviceDetector\DeviceDetector $deviceDetectorClass, $userAgent)
    {
        $this->autoPopulateSuperGlobals();
        $browserInfoArray   = [
            'architecture' => $this->getArchitectureFromUserAgent($userAgent, 'browser'),
            'connection'   => $this->brServerGlobals->server->get('HTTP_CONNECTION'),
            'family'       => $this->getClientBrowserFamily($deviceDetectorClass),
            'host'         => $this->brServerGlobals->server->get('HTTP_HOST'),
            'referrer'     => $this->brServerGlobals->headers->get('referer'),
            'user_agent'   => $this->getUserAgentByCommonLib(),
        ];
        $vrs                = $this->getClientBrowserVersion($deviceDetectorClass);
        $browserInformation = array_merge($browserInfoArray, $this->getClientBrowserAccepted(), $vrs);
        ksort($browserInformation);
        return $browserInformation;
    }
private function getClientBrowser(\DeviceDetector\DeviceDetector $deviceDetectorClass, $userAgent)
    {
        $this->autoPopulateSuperGlobals();
        $browserInfoArray   = [
            'architecture' => $this->getArchitectureFromUserAgent($userAgent, 'browser'),
            'connection'   => $this->brServerGlobals->server->get('HTTP_CONNECTION'),
            'family'       => $this->getClientBrowserFamily($deviceDetectorClass),
            'host'         => $this->brServerGlobals->server->get('HTTP_HOST'),
            'referrer'     => $this->brServerGlobals->headers->get('referer'),
            'user_agent'   => $this->getUserAgentByCommonLib(),
        ];
        $vrs                = $this->getClientBrowserVersion($deviceDetectorClass);
        $browserInformation = array_merge($browserInfoArray, $this->getClientBrowserAccepted(), $vrs);
        ksort($browserInformation);
        return $browserInformation;
    }
private function getClientBrowser ( \ DeviceDetector \ DeviceDetector $ deviceDetectorClass , $ userAgent ) { $ this -> autoPopulateSuperGlobals ( ) ; $ browserInfoArray = [ 'architecture' => $ this -> getArchitectureFromUserAgent ( $ userAgent , 'browser' ) , 'connection' => $ this -> brServerGlobals -> server -> get ( 'HTTP_CONNECTION' ) , 'family' => $ this -> getClientBrowserFamily ( $ deviceDetectorClass ) , 'host' => $ this -> brServerGlobals -> server -> get ( 'HTTP_HOST' ) , 'referrer' => $ this -> brServerGlobals -> headers -> get ( 'referer' ) , 'user_agent' => $ this -> getUserAgentByCommonLib ( ) , ] ; $ vrs = $ this -> getClientBrowserVersion ( $ deviceDetectorClass ) ; $ browserInformation = array_merge ( $ browserInfoArray , $ this -> getClientBrowserAccepted ( ) , $ vrs ) ; ksort ( $ browserInformation ) ; return $ browserInformation ; }
Provides details about browser

@param \DeviceDetector\DeviceDetector $deviceDetectorClass
@param string $userAgent
@return array
Provides details about browser