original_string: public function setTimeout($timeout)
    {
      // Since this timeout is really for putting a bound on the time
      // we'll set them both to the same. If you need to specify a longer
      // CURLOPT_TIMEOUT, or a higher CONNECTTIMEOUT, the best thing to
      // do is use the setOptions method for the values individually.
      $this->options[CURLOPT_CONNECTTIMEOUT] = $timeout;
      $this->options[CURLOPT_TIMEOUT] = $timeout;
    }
code: public function setTimeout($timeout)
    {
      // Since this timeout is really for putting a bound on the time
      // we'll set them both to the same. If you need to specify a longer
      // CURLOPT_TIMEOUT, or a higher CONNECTTIMEOUT, the best thing to
      // do is use the setOptions method for the values individually.
      $this->options[CURLOPT_CONNECTTIMEOUT] = $timeout;
      $this->options[CURLOPT_TIMEOUT] = $timeout;
    }
code_tokens: public function setTimeout ( $ timeout ) { // Since this timeout is really for putting a bound on the time // we'll set them both to the same. If you need to specify a longer // CURLOPT_TIMEOUT, or a higher CONNECTTIMEOUT, the best thing to // do is use the setOptions method for the values individually. $ this -> options [ CURLOPT_CONNECTTIMEOUT ] = $ timeout ; $ this -> options [ CURLOPT_TIMEOUT ] = $ timeout ; }
docstring: Set the maximum request time in seconds.
  @param $timeout in seconds
docstring_tokens: Set the maximum request time in seconds .