public function setMaxRedirect($maxRedirect)
    {
        $maxRedirect = intval($maxRedirect);
        if (!empty($maxRedirect)) {
            $this->maxRedirect = $maxRedirect;
        }
    }
public function setMaxRedirect($maxRedirect)
    {
        $maxRedirect = intval($maxRedirect);
        if (!empty($maxRedirect)) {
            $this->maxRedirect = $maxRedirect;
        }
    }
public function setMaxRedirect ( $ maxRedirect ) { $ maxRedirect = intval ( $ maxRedirect ) ; if ( ! empty ( $ maxRedirect ) ) { $ this -> maxRedirect = $ maxRedirect ; } }
Set the maximum redirects allowed.

@param int $maxRedirect
Set the maximum redirects allowed .