public function set_config(array $config)
    {
        if (isset($config['convert_integers'])) {
            $this->config['convert_integers'] = (bool)$config['convert_integers'];
        }

        if (isset($config['typecast_objects'])) {
            $this->config['typecast_objects'] = (bool)$config['typecast_objects'];
        }

        return $this;
    }
public function set_config(array $config)
    {
        if (isset($config['convert_integers'])) {
            $this->config['convert_integers'] = (bool)$config['convert_integers'];
        }

        if (isset($config['typecast_objects'])) {
            $this->config['typecast_objects'] = (bool)$config['typecast_objects'];
        }

        return $this;
    }
public function set_config ( array $ config ) { if ( isset ( $ config [ 'convert_integers' ] ) ) { $ this -> config [ 'convert_integers' ] = ( bool ) $ config [ 'convert_integers' ] ; } if ( isset ( $ config [ 'typecast_objects' ] ) ) { $ this -> config [ 'typecast_objects' ] = ( bool ) $ config [ 'typecast_objects' ] ; } return $ this ; }
Change the config for this response
You may pass in an associative array of your config

@param array $config
<pre>
array(
'convert_integers' => true/false
'typecast_objects' => true/false
</pre>

@return PheryResponse
Change the config for this response You may pass in an associative array of your config