src/sb/REST/Client.php
public function setDefaultArguments($default_settings)
    {
        foreach ($default_settings as $setting => $val) {
            if (property_exists(get_class(), $setting)) {
                $this->$setting = $val;
            }
        }
    }
public function setDefaultArguments($default_settings)
    {
        foreach ($default_settings as $setting => $val) {
            if (property_exists(get_class(), $setting)) {
                $this->$setting = $val;
            }
        }
    }
public function setDefaultArguments ( $ default_settings ) { foreach ( $ default_settings as $ setting => $ val ) { if ( property_exists ( get_class ( ) , $ setting ) ) { $ this -> $ setting = $ val ; } } }
Overrides the default settings for all requests
@param array $default_settings settings to override the default properties of
follow_location, verify_ssl, return_transfer, debug, cookie_file, user_agent, timeout,  on_http_error, on_headers, on_body
Overrides the default settings for all requests