public function setSection($section, array $config, $overwrite = false)
    {
        if (false === $overwrite && array_key_exists($section, $this->raw_parameters)) {
            $this->raw_parameters[$section] = Collection::array_merge_assoc_recursive($this->raw_parameters[$section], $config);
        } else {
            $this->raw_parameters[$section] = $config;
        }

        if (array_key_exists($section, $this->parameters)) {
            unset($this->parameters[$section]);
        }

        return $this;
    }
public function setSection($section, array $config, $overwrite = false)
    {
        if (false === $overwrite && array_key_exists($section, $this->raw_parameters)) {
            $this->raw_parameters[$section] = Collection::array_merge_assoc_recursive($this->raw_parameters[$section], $config);
        } else {
            $this->raw_parameters[$section] = $config;
        }

        if (array_key_exists($section, $this->parameters)) {
            unset($this->parameters[$section]);
        }

        return $this;
    }
public function setSection ( $ section , array $ config , $ overwrite = false ) { if ( false === $ overwrite && array_key_exists ( $ section , $ this -> raw_parameters ) ) { $ this -> raw_parameters [ $ section ] = Collection :: array_merge_assoc_recursive ( $ this -> raw_parameters [ $ section ] , $ config ) ; } else { $ this -> raw_parameters [ $ section ] = $ config ; } if ( array_key_exists ( $ section , $ this -> parameters ) ) { unset ( $ this -> parameters [ $ section ] ) ; } return $ this ; }
Sets a parameter section.

@param string  $section
@param array   $config
@param boolean $overwrite

@return \BackBee\Config\Config The current config object
Sets a parameter section .