protected function getUserAgent()
    {
        return sprintf(
            '%s/%s (%s; %s; PHP %s)',
            str_replace(' ', '-', $this->config->get('application.name')),
            $this->config->getVersion(),
            php_uname('s'),
            php_uname('r'),
            PHP_VERSION
        );
    }
protected function getUserAgent()
    {
        return sprintf(
            '%s/%s (%s; %s; PHP %s)',
            str_replace(' ', '-', $this->config->get('application.name')),
            $this->config->getVersion(),
            php_uname('s'),
            php_uname('r'),
            PHP_VERSION
        );
    }
protected function getUserAgent ( ) { return sprintf ( '%s/%s (%s; %s; PHP %s)' , str_replace ( ' ' , '-' , $ this -> config -> get ( 'application.name' ) ) , $ this -> config -> getVersion ( ) , php_uname ( 's' ) , php_uname ( 'r' ) , PHP_VERSION ) ; }
Get an HTTP User Agent string representing this application.

@return string
Get an HTTP User Agent string representing this application .