private function getClientBrowserDevice(\DeviceDetector\DeviceDetector $deviceDetectorClass)
    {
        $this->autoPopulateSuperGlobals();
        $clientIp = $this->brServerGlobals->getClientIp();
        return [
            'brand'     => $deviceDetectorClass->getDeviceName(),
            'ip'        => $clientIp,
            'ip direct' => $this->brServerGlobals->server->get('REMOTE_ADDR'),
            'ip type'   => $this->checkIpIsPrivate($clientIp),
            'ip v4/v6'  => $this->checkIpIsV4OrV6($clientIp),
            'model'     => $deviceDetectorClass->getModel(),
            'name'      => $deviceDetectorClass->getBrandName(),
        ];
    }
private function getClientBrowserDevice(\DeviceDetector\DeviceDetector $deviceDetectorClass)
    {
        $this->autoPopulateSuperGlobals();
        $clientIp = $this->brServerGlobals->getClientIp();
        return [
            'brand'     => $deviceDetectorClass->getDeviceName(),
            'ip'        => $clientIp,
            'ip direct' => $this->brServerGlobals->server->get('REMOTE_ADDR'),
            'ip type'   => $this->checkIpIsPrivate($clientIp),
            'ip v4/v6'  => $this->checkIpIsV4OrV6($clientIp),
            'model'     => $deviceDetectorClass->getModel(),
            'name'      => $deviceDetectorClass->getBrandName(),
        ];
    }
private function getClientBrowserDevice ( \ DeviceDetector \ DeviceDetector $ deviceDetectorClass ) { $ this -> autoPopulateSuperGlobals ( ) ; $ clientIp = $ this -> brServerGlobals -> getClientIp ( ) ; return [ 'brand' => $ deviceDetectorClass -> getDeviceName ( ) , 'ip' => $ clientIp , 'ip direct' => $ this -> brServerGlobals -> server -> get ( 'REMOTE_ADDR' ) , 'ip type' => $ this -> checkIpIsPrivate ( $ clientIp ) , 'ip v4/v6' => $ this -> checkIpIsV4OrV6 ( $ clientIp ) , 'model' => $ deviceDetectorClass -> getModel ( ) , 'name' => $ deviceDetectorClass -> getBrandName ( ) , ] ; }
Returns client device details from client browser

@param class $deviceDetectorClass
@return array
Returns client device details from client browser