private function fromArray(array $data)
    {
        $this->browserName = $data['browser_name'];
        $this->browserVersion = $data['browser_version'];
        $this->browserEngine = $data['browser_engine'];
        $this->operatingSystem = $data['operating_system'];
        $this->device = $data['device'];
    }
private function fromArray(array $data)
    {
        $this->browserName = $data['browser_name'];
        $this->browserVersion = $data['browser_version'];
        $this->browserEngine = $data['browser_engine'];
        $this->operatingSystem = $data['operating_system'];
        $this->device = $data['device'];
    }
private function fromArray ( array $ data ) { $ this -> browserName = $ data [ 'browser_name' ] ; $ this -> browserVersion = $ data [ 'browser_version' ] ; $ this -> browserEngine = $ data [ 'browser_engine' ] ; $ this -> operatingSystem = $ data [ 'operating_system' ] ; $ this -> device = $ data [ 'device' ] ; }
Configures the user agent information from an array.

@param array $data The data array
Configures the user agent information from an array .