src/net/http/HttpClient.php
public function setMaxRedirects($maxRedirects) {
        if (!is_int($maxRedirects)) throw new IllegalTypeException('Illegal type of parameter $maxRedirects: '.gettype($maxRedirects));

        $this->maxRedirects = $maxRedirects;
        return $this;
    }
public function setMaxRedirects($maxRedirects) {
        if (!is_int($maxRedirects)) throw new IllegalTypeException('Illegal type of parameter $maxRedirects: '.gettype($maxRedirects));

        $this->maxRedirects = $maxRedirects;
        return $this;
    }
public function setMaxRedirects ( $ maxRedirects ) { if ( ! is_int ( $ maxRedirects ) ) throw new IllegalTypeException ( 'Illegal type of parameter $maxRedirects: ' . gettype ( $ maxRedirects ) ) ; $ this -> maxRedirects = $ maxRedirects ; return $ this ; }
Setzt die maximale Anzahl der Redirects, denen gefolgt werden soll.

@param  int $maxRedirects

@return $this
Setzt die maximale Anzahl der Redirects denen gefolgt werden soll .