original_string: public function setMaxRedirects($maxRedirects)
      {
          $this->maxRedirects = $maxRedirects < 0 ? -1 : $maxRedirects;
          $this->followRedirects = -1 != $this->maxRedirects;
      }
code: public function setMaxRedirects($maxRedirects)
      {
          $this->maxRedirects = $maxRedirects < 0 ? -1 : $maxRedirects;
          $this->followRedirects = -1 != $this->maxRedirects;
      }
code_tokens: public function setMaxRedirects ( $ maxRedirects ) { $ this -> maxRedirects = $ maxRedirects < 0 ? - 1 : $ maxRedirects ; $ this -> followRedirects = - 1 != $ this -> maxRedirects ; }
docstring: Sets the maximum number of redirects that crawler can follow.
  
  @param int $maxRedirects
docstring_tokens: Sets the maximum number of redirects that crawler can follow .