/** * Set the maximum number of redirects to follow during HTTP operations * * @param int $maxRedirects Maximum number of redirects to follow * @return void */ public static function setMaxRedirects($maxRedirects) { self::$_maxRedirects = $maxRedirects; }
/** * Enable/disable the use of XML to object mapping. * * @param boolean $value Pass in true to use the XML to object mapping. * Pass in false or null to disable it. * @return void */ public static function useObjectMapping($value) { self::$_useObjectMapping = (bool) $value; }