public function getVersion()
    {
        if (!isset($this->name)) {
            BrowserDetector::detect($this, $this->getUserAgent());
        }

        return (string) $this->version;
    }
public function getVersion()
    {
        if (!isset($this->name)) {
            BrowserDetector::detect($this, $this->getUserAgent());
        }

        return (string) $this->version;
    }
public function getVersion ( ) { if ( ! isset ( $ this -> name ) ) { BrowserDetector :: detect ( $ this , $ this -> getUserAgent ( ) ) ; } return ( string ) $ this -> version ; }
The version of the browser.

@return string
The version of the browser .