original_string: public function setUserAgent($userAgent)
    {
      $this->userAgent = $userAgent;
      if ($this->canGzip) {
        $this->userAgent = $userAgent . self::GZIP_UA;
      }
    }
code: public function setUserAgent($userAgent)
    {
      $this->userAgent = $userAgent;
      if ($this->canGzip) {
        $this->userAgent = $userAgent . self::GZIP_UA;
      }
    }
code_tokens: public function setUserAgent ( $ userAgent ) { $ this -> userAgent = $ userAgent ; if ( $ this -> canGzip ) { $ this -> userAgent = $ userAgent . self :: GZIP_UA ; } }
docstring: Set the User-Agent Header.
  @param string $userAgent The User-Agent.
docstring_tokens: Set the User - Agent Header .