public function toArray()
    {
        return array(
            'browser_name' => $this->getBrowserName(),
            'browser_version' => $this->getBrowserVersion(),
            'browser_engine' => $this->getBrowserEngine(),
            'operating_system' => $this->getOperatingSystem(),
            'device' => $this->getDevice()
        );
    }
public function toArray()
    {
        return array(
            'browser_name' => $this->getBrowserName(),
            'browser_version' => $this->getBrowserVersion(),
            'browser_engine' => $this->getBrowserEngine(),
            'operating_system' => $this->getOperatingSystem(),
            'device' => $this->getDevice()
        );
    }
public function toArray ( ) { return array ( 'browser_name' => $ this -> getBrowserName ( ) , 'browser_version' => $ this -> getBrowserVersion ( ) , 'browser_engine' => $ this -> getBrowserEngine ( ) , 'operating_system' => $ this -> getOperatingSystem ( ) , 'device' => $ this -> getDevice ( ) ) ; }
Converts the user agent information to an array.

@return array
Converts the user agent information to an array .