public function setConfig(array $config)
    {
        foreach ($config as $name => $value) {
            $setter = 'set' . ucfirst($name);

            call_user_func_array(array($this, $setter), array($value));
        }
    }
public function setConfig(array $config)
    {
        foreach ($config as $name => $value) {
            $setter = 'set' . ucfirst($name);

            call_user_func_array(array($this, $setter), array($value));
        }
    }
public function setConfig ( array $ config ) { foreach ( $ config as $ name => $ value ) { $ setter = 'set' . ucfirst ( $ name ) ; call_user_func_array ( array ( $ this , $ setter ) , array ( $ value ) ) ; } }
Sets the configuration of the builder.

@param array $config The configuration to set.
Sets the configuration of the builder .